Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10041

Fatal error in CRM/Utils/REST.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.3
    • Component/s: CiviCRM API
    • Labels:

      Description

      rev 36995 included a change that now causes a Fatal error:

      CRM/Utils/REST.php, line 562 changed from
      $api_key = CRM_Utils_Request::retrieve( 'api_key', 'String', $store, false, null, 'REQUEST' );
      to
      $api_key = CRM_::retrieve( 'api_key', 'String', $store, false, null, 'REQUEST' );

      This is obviously wrong and causes the following error message upon execution:
      Fatal error: Class 'CRM_' not found in C:\wamp\www\civi411s\CRM\Utils\REST.php on line 564

        Attachments

          Activity

            People

            • Assignee:
              xavier xavier dutoit
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified