Changeset 840


Ignore:
Timestamp:
Dec 10, 2016, 10:29:28 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Call method by string in PHP7.
File:
1 edited

Legend:

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

    r791 r840  
    7171        {
    7272          $Class = new $Channel['Callback'][0]($this->System);
    73           $Output = $Class->$Channel['Callback'][1]();
     73          $Method = $Channel['Callback'][1];
     74          $Output = $Class->$Method();
    7475        } else $Output = call_user_func($Channel['Callback']);
    7576      } else $Output = 'Nemáte oprávnění';
Note: See TracChangeset for help on using the changeset viewer.