2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Merging the updated Limesurvey 1.92+ branch of queXS to trunk

This commit is contained in:
azammitdcarf
2012-11-21 04:04:39 +00:00
parent 153fc8ca0d
commit c569559964
856 changed files with 254260 additions and 819988 deletions

View File

@@ -62,7 +62,7 @@ if (empty($_SESSION) || !isset($_SESSION['fieldname']))
}
else die('Invalid filename');
$sJSON = $_SESSION[$fieldname];
$sJSON = $_SESSION[$sFieldname];
$aFiles = json_decode(stripslashes($sJSON),true);
if(substr($sFilename,0,3)=='fu_'){
@@ -78,7 +78,7 @@ if (empty($_SESSION) || !isset($_SESSION['fieldname']))
$iFileIndex++;
}
if ($found==true) unset($aFiles[$iFileIndex]);
$_SESSION[$fieldname] = json_encode($aFiles);
$_SESSION[$sFieldname] = ls_json_encode($aFiles);
}
if (@unlink($sFileDir.$sFilename))
@@ -88,4 +88,4 @@ if (empty($_SESSION) || !isset($_SESSION['fieldname']))
else
echo $clang->gT('Oops, There was an error deleting the file');
?>
?>