1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

Issue #2846 LAN vars cleanup

This commit is contained in:
Cameron
2017-11-06 17:32:00 -08:00
parent a541721eb3
commit 1063ffe543
3 changed files with 5 additions and 4 deletions

View File

@@ -1058,13 +1058,14 @@ class lancheck
$kom_start = chr(47)."*";
$kom_end = "*".chr(47);
if(vartrue($_SESSION['lancheck-edit-file']))
if(!empty($_SESSION['lancheck-edit-file']))
{
$writeit = $_SESSION['lancheck-edit-file'];
}
else
{
return;
e107::getMessage()->addError("There is a problem with sessions");
return;
}
$old_kom = "";