diff --git a/Alpha/Controller/LogoutController.php b/Alpha/Controller/LogoutController.php index e74150d3..7f1f79fe 100644 --- a/Alpha/Controller/LogoutController.php +++ b/Alpha/Controller/LogoutController.php @@ -110,8 +110,8 @@ public function doGET($request) $config = ConfigProvider::getInstance(); - if ($this->BO instanceof Person) { - self::$logger->debug('Logging out ['.$this->BO->get('email').'] at ['.date('Y-m-d H:i:s').']'); + if ($this->record instanceof Person) { + self::$logger->debug('Logging out ['.$this->record->get('email').'] at ['.date('Y-m-d H:i:s').']'); self::$logger->action('Logout'); } diff --git a/Alpha/Controller/TagController.php b/Alpha/Controller/TagController.php index 58d18db1..936cba5e 100644 --- a/Alpha/Controller/TagController.php +++ b/Alpha/Controller/TagController.php @@ -290,7 +290,7 @@ public function doPOST($request) self::$logger->debug('>>doPOST($request=['.var_export($request, true).'])'); $params = $request->getParams(); -print_r($params); + try { // check the hidden security fields before accepting the form POST data if (!$this->checkSecurityFields()) {