summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/df.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/df.php b/app/df.php
index 3f648ad..6c23136 100644
--- a/app/df.php
+++ b/app/df.php
@@ -61,7 +61,7 @@ function checkPermissions(string $guid, bool $allowHeadUser = false) : bool
if (!($user = user::getCurrent()))
return false;
- $obj = new object($guid);
+ $obj = new obj($guid);
if ($allowHeadUser && $obj->objtype == "user")
return true;