Changeset 876 for trunk


Ignore:
Timestamp:
Oct 2, 2017, 10:22:23 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Calling class method dynamically compatible with PHP 7.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/News/RSS.php

    r816 r876  
    4848        {
    4949          $Class = new $Channel['Callback'][0]($this->System);
    50           $Output = $Class->$Channel['Callback'][1]();
     50          $Method = $Channel['Callback'][1];
     51          $Output = $Class->$Method();
    5152        } else $Output = call_user_func($Channel['Callback']);
    5253      } else $Output = T('Access denied');
Note: See TracChangeset for help on using the changeset viewer.