From 46c0ec9c636256feb230efbaf6b5b3c9a56e2a28 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sat, 29 Jun 2013 22:26:38 +0100 Subject: [PATCH] No need to unset selectedFiles on new paste --- lib/file-control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index 8286a56..6d4210f 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -121,7 +121,7 @@ if ($_GET['action']=="paste") { } } // Reload file manager - echo ''; + echo ''; } else { echo ""; } @@ -132,7 +132,7 @@ if ($_GET['action']=="paste") { if ($_GET['action']=="upload") { if (!$demoMode) { class fileUploader { - public function __construct($uploads) { + public function __construct($uploads) { global $docRoot; $uploadDir=$docRoot.$iceRoot.str_replace("..","",str_replace("|","/",strClean($_POST['folder'])."/")); foreach($uploads as $current) {