Closed Guite closed 13 years ago
Line 26 of Piwik_Api_User class should be:
$adminpage = (FormUtil::getPassedValue('type', isset($args['type']) ? $args['type'] : null, 'GET') == 'admin');
Note the comparison added to the end, making it a condition.
Thank you for the hint.
https://github.com/phaidon/Piwik/commit/05cbda73856a951909deec062d0aef6a085194b8
Line 26 of Piwik_Api_User class should be:
Note the comparison added to the end, making it a condition.