summaryrefslogtreecommitdiff
path: root/lib/exe/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe/detail.php')
-rw-r--r--lib/exe/detail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index 6e2ae96c6..21a34d721 100644
--- a/lib/exe/detail.php
+++ b/lib/exe/detail.php
@@ -11,8 +11,8 @@
//close session
session_write_close();
- $IMG = cleanID($_REQUEST['media']);
- $ID = getID();
+ $IMG = getID('media');
+ $ID = cleanID($_REQUEST['id']);
$ERROR = false;
// check image permissions