summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/api.php b/files/api.php
index 5a4c8801d4e..b27228d9676 100755
--- a/files/api.php
+++ b/files/api.php
@@ -23,6 +23,9 @@
require_once('../inc/lib_base.php');
$arguments=$_POST;
+if(!isset($_POST['action']) and isset($_GET['action'])){
+ $arguments=$_GET;
+}
foreach($arguments as &$argument){
$argument=stripslashes($argument);