From: john Date: Wed, 10 Oct 2018 06:05:58 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=2646916d3602c4a80cae6fc71c22e23ce29cd16d Pman/Login.php --- diff --git a/Pman/Login.php b/Pman/Login.php index bb7e049..f2a68bc 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -129,6 +129,7 @@ class Pman_Login extends Pman $tbl = empty($ff->Pman['authTable']) ? 'core_person' : $ff->Pman['authTable']; $u = DB_DataObject::factory($tbl); + $s = DB_DataObject::Factory('core_setting'); if (!$u->isAuth()) { $this->jok(array('id' => 0, 'test' => 0)); // not logged in..