fix variable name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user