From 549477090eb1305b7be3e716a7fb318d508c5393 Mon Sep 17 00:00:00 2001 From: franzz Date: Fri, 3 Jul 2015 21:57:33 +0200 Subject: [PATCH] fix variable name --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 2ab0ad4..86f25c0 100755 --- a/index.php +++ b/index.php @@ -39,7 +39,7 @@ $sLang = isset($_GET['l'])?$_GET['l']:(isset($_COOKIE['l'])?$_COOKIE['l']:''); //Initiate class $oMain = new Main($oClassManagement, __FILE__, $sLang); -$bLoggedIn = $oCvTheque->isLoggedIn(); +$bLoggedIn = $oMain->isLoggedIn(); $sResult = ''; if($sAction=='logmein') $sResult = $oMain->logMeIn($sToken); @@ -51,7 +51,7 @@ elseif($sAction!='' && $bLoggedIn) $sResult = $oCvTheque->function(); break; default: - $sResult = Main::getJsonResult(false, CvTheque::NOT_FOUND); + $sResult = Main::getJsonResult(false, Main::NOT_FOUND); } } elseif($sAction!='' && !$bLoggedIn)