diff --git a/module/Auth/src/Auth/Controller/AdminController.php b/module/Auth/src/Auth/Controller/AdminController.php index 16ff2c49..28859ce3 100644 --- a/module/Auth/src/Auth/Controller/AdminController.php +++ b/module/Auth/src/Auth/Controller/AdminController.php @@ -77,7 +77,7 @@ public function deleteAction() public function getUsersTable() { // I have a Table data Gateway ready to go right out of the box - if (!$this->usersTable) { + if (!isset($this->usersTable)) { $this->usersTable = new TableGateway( 'users', $this->getServiceLocator()->get('Zend\Db\Adapter\Adapter') @@ -87,4 +87,4 @@ public function getUsersTable() } return $this->usersTable; } -} \ No newline at end of file +}