summaryrefslogtreecommitdiff
path: root/src/controllers/Config.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/Config.class.php')
-rw-r--r--src/controllers/Config.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/Config.class.php b/src/controllers/Config.class.php
index 37d1f09..dc6a884 100644
--- a/src/controllers/Config.class.php
+++ b/src/controllers/Config.class.php
@@ -6,7 +6,7 @@ Router::register('config', 'Config', 'index');
class Config extends Controller {
public function index($routed, $remainder) {
$uid = Login::isLoggedIn();
- if ($uid===false || !Auth::getObj($uid)->isAdmin()) {
+ if ($uid===false || !Auth::getInstance($uid)->isAdmin()) {
$this->http401($routed, $remainder);
return;
}