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

Fatal error: Only variables can be passed by reference in /etc/apache2/htdocs/drupal/modules/civicrm/CRM/Utils/String.php on line 112

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      Receive same message from Controller.php and QuickForm.php.
      CiviCRM V1.0 beta, Drupal 4.6.2, PHP 5.1.0b3
      In String.php made following change:
      static function getClassName( $string, $char = '_' )

      { /* return array_pop( explode( $char, $string ) ); */ $jeff = explode( $char, $string ); return array_pop( $jeff ); }

      and it seems to work. Controller and QuickForm are more difficult.
      I'm very new to this.
      Jeff Chochon

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jeffc Jeff Chochon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: