* Fix bug #50199.
This commit is contained in:
@@ -571,6 +571,7 @@ class fileModel extends model
|
||||
public function checkPriv(object $file): bool
|
||||
{
|
||||
if(!$file->objectType || !$file->objectID) return true;
|
||||
if(!$this->loadModel('user')->isLogon()) return true;
|
||||
|
||||
$objectType = $file->objectType;
|
||||
$objectID = $file->objectID;
|
||||
|
||||
Reference in New Issue
Block a user