* Fix bug#21382.
This commit is contained in:
@@ -952,7 +952,7 @@ class userModel extends model
|
||||
*/
|
||||
public function authorize($account)
|
||||
{
|
||||
$account = filter_var($account, FILTER_SANITIZE_STRING);
|
||||
$account = filter_var($account, FILTER_UNSAFE_RAW);
|
||||
if(!$account) return false;
|
||||
|
||||
$rights = array();
|
||||
|
||||
Reference in New Issue
Block a user