CMS MADE SIMPLE FORGE

Ajax Made Simple

 

[#12203] Invalid PHP code

avatar
Created By: Rimas Kudelis (rimas)
Date Submitted: Mon Dec 09 16:12:25 -0500 2019

Assigned To: Morten Poulsen (silmarillion)
Version: 0.4.0
CMSMS Version: 2.2.13
Severity: Major
Resolution: Fixed
State: Open
Summary:
Invalid PHP code
Detailed Description:
Line 24 of action.handlerequest.php contains the following code:
    $output = $module->$_GET["method"]($vars);
This code doesn't work anymore. It is, however, easy to fix by adding a pair of
curly braces:
    $output = $module->{$_GET["method"]}($vars);
Locally I have fixed this already, so the report is just to let you know.


History

Comments
avatar
Date: 2021-03-16 05:39
Posted By: Yuri Haperski (cmsms)

Fixed in the last release.
      
Updates

Updated: 2021-03-16 05:39
resolution_id: => 7