diff options
author | Michael Hamann <michael@content-space.de> | 2014-06-25 15:55:20 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2014-06-25 16:00:35 +0200 |
commit | e8a2a143c4b67d54a907322b992320c2c778dafa (patch) | |
tree | 760bf1e90aa23c793e737767c3d53ae02c9c352a /lib/exe | |
parent | 5fd5f78803a876c5808be4d3ba63cc5b85754f25 (diff) | |
download | rpg-e8a2a143c4b67d54a907322b992320c2c778dafa.tar.gz rpg-e8a2a143c4b67d54a907322b992320c2c778dafa.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/exe')
-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); } |