diff options
author | Michael Hamann <michael@content-space.de> | 2014-06-25 15:55:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-06-25 18:58:26 +0200 |
commit | 0a2ef7a346f2ad930c05a95b39bfd2f293796170 (patch) | |
tree | 8a50075de8e0020334175d25881090d263a4d969 /lib | |
parent | 3d710065050c0fe17941351ed07acf470fc73ce6 (diff) | |
download | rpg-0a2ef7a346f2ad930c05a95b39bfd2f293796170.tar.gz rpg-0a2ef7a346f2ad930c05a95b39bfd2f293796170.tar.bz2 |
Quick fix for #765 - ACL checks in the media manager ajax calls
This should be superseded by a proper rewrite of the media manager code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/ajax.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php index 1000094bc..a200a3ded 100644 --- a/lib/exe/ajax.php +++ b/lib/exe/ajax.php @@ -254,7 +254,7 @@ function ajax_mediadiff(){ $image = ''; if ($INPUT->has('image')) $image = cleanID($INPUT->str('image')); - $NS = $INPUT->post->str('ns'); + $NS = getNS($image); $auth = auth_quickaclcheck("$NS:*"); media_diff($image, $NS, $auth, true); } |