HOR-281 storeInTmp does not emit error when trying to save entry from non logged in user.
This commit is contained in:
@@ -172,7 +172,7 @@ if( isset($request) ){
|
|||||||
|
|
||||||
case 'storeInTmp':
|
case 'storeInTmp':
|
||||||
if(!isset($_SESSION['USER_LOGGED'])) {
|
if(!isset($_SESSION['USER_LOGGED'])) {
|
||||||
echo "{status: 0, message: \"Not Authorized\"}";
|
echo "{status: 1, message: \"success\"}";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user