Skip to content

Commit

Permalink
Fixes a bug in Admin_ContentPage module following commit 768d248.
Browse files Browse the repository at this point in the history
  • Loading branch information
JB Lebrun committed Apr 10, 2019
1 parent 33c997d commit d11f3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/module/Admin_ContentPage/Admin_ContentPage.php.inc
Expand Up @@ -5,9 +5,9 @@
* @details Plugin, Module Engine
* @file plugin/module/Admin_ContentPage/Admin_ContentPage.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.1.1
* @version 1.1.2
* @date Creation: Jun 2005
* @date Modification: Feb 2019
* @date Modification: Apr 2019
* @copyright 2005 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Expand Down Expand Up @@ -380,7 +380,7 @@ final class Admin_ContentPage extends Module {
die();
}
$camyks->adminUser = new AdminUser($camyks->get_sessionValue('admin_user'));
if (!$camyks->adminUser->get_fromDatabase()) {
if (!$camyks->adminUser->get()) {
die();
}

Expand Down

0 comments on commit d11f3e8

Please sign in to comment.