Commit 413743fe authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix.

parent f60ccad6
......@@ -1503,7 +1503,7 @@ function Do_DismissExtensionDenied()
global $this_user;
global $ajax_args;
if (!isset($this_user) || !ISADMIN()) {
if (!isset($this_user)) {
SPITAJAX_ERROR(1, "Not enough permission.");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment