Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14209

Bug in registerAutoloadFunctions

    XMLWordPrintable

Details

    Description

      This code does not look right to me:

      function registerAutoloadFunctions( $functionDefinition )
      {
      [...]
      $functionNamesFunction = $functionDefinition['function_names_function'];
      if ( !function_exists( $functionNamesFunction ) )

      { $this->error( 'registerFunctions', "Cannot register function definition, missing function names function '$functionNamesFunction'" ); return; }

      $functionNames = $operatorNamesFunction();
      [...]
      shouldn't that last line read
      $functionNames = $functionNamesFunction();

      ?

      -Erlend

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            ehalvorsen ehalvorsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: