Skip to content

Commit

Permalink
Dev: dbe44d1 child : fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Feb 5, 2014
1 parent dbe44d1 commit b49f207
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/controllers/UploaderController.php
Expand Up @@ -98,8 +98,8 @@ function run($actionID)
{
throw new CHttpException(400);// See for debug > 1
}
if(isset($_SESSION[$sFieldname])) {// We already have $sFieldName ?
$sJSON = $_SESSION[$sFieldname];
if(isset($_SESSION[$sFieldName])) {// We already have $sFieldName ?
$sJSON = $_SESSION[$sFieldName];
$aFiles = json_decode(stripslashes($sJSON),true);

if(substr($sFileName,0,3)=='fu_'){
Expand All @@ -116,7 +116,7 @@ function run($actionID)
$iFileIndex++;
}
if ($found==true) unset($aFiles[$iFileIndex]);
$_SESSION[$sFieldname] = ls_json_encode($aFiles);
$_SESSION[$sFieldName] = ls_json_encode($aFiles);
}
}
//var_dump($sFileDir.$sFilename);
Expand Down

0 comments on commit b49f207

Please sign in to comment.