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
|
//Initiate class
|
||||||
$oMain = new Main($oClassManagement, __FILE__, $sLang);
|
$oMain = new Main($oClassManagement, __FILE__, $sLang);
|
||||||
$bLoggedIn = $oCvTheque->isLoggedIn();
|
$bLoggedIn = $oMain->isLoggedIn();
|
||||||
|
|
||||||
$sResult = '';
|
$sResult = '';
|
||||||
if($sAction=='logmein') $sResult = $oMain->logMeIn($sToken);
|
if($sAction=='logmein') $sResult = $oMain->logMeIn($sToken);
|
||||||
@@ -51,7 +51,7 @@ elseif($sAction!='' && $bLoggedIn)
|
|||||||
$sResult = $oCvTheque->function();
|
$sResult = $oCvTheque->function();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$sResult = Main::getJsonResult(false, CvTheque::NOT_FOUND);
|
$sResult = Main::getJsonResult(false, Main::NOT_FOUND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif($sAction!='' && !$bLoggedIn)
|
elseif($sAction!='' && !$bLoggedIn)
|
||||||
|
|||||||
Reference in New Issue
Block a user