09-01-2017, 04:35 AM
The modification of the file "us_helpers.php", adding the declaration of the variable "master_account" as global inside the function "hasPerm", has worked for me. This way:
Can anyone verify if this is a correct way to fix this problem, please?
Code:
function hasPerm($permissions, $id) {Code:
$db = DB::getInstance();Code:
global $user;Code:
global $master_account; //THIS IS THE NEW LINECode:
//Grant access if master userCode:
$access = 0;Can anyone verify if this is a correct way to fix this problem, please?
