Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
The run() and browse() methods of CRM_Core_Page_Basic declare arguments that are neither present in the parent class nor in child classes. This generates a PHP warning every time the code of a child class is loaded.
The attached patch removes the arguments from the function signature and instead use func_num_arg() and func_get_arg() to load them.