Skip to content

Commit

Permalink
#211 - fixed a small bug in the LogoutController affecting a unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadevx committed Sep 8, 2015
1 parent 3e5fb4b commit 699da2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Alpha/Controller/LogoutController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down
2 changes: 1 addition & 1 deletion Alpha/Controller/TagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 699da2b

Please sign in to comment.