Merged from 1.7.

This commit is contained in:
vyshane
2006-11-27 03:22:28 +00:00
parent 5bb4bbb380
commit 2f11bfc0a4
+1 -1
View File
@@ -56,7 +56,7 @@ function ajaxenabled() {
return false;
}
if (!empty($CFG->enableajax) && !empty($USER->ajax)) {
if (!empty($CFG->enableajax) && (!empty($USER->ajax) || !isloggedin())) {
return true;
} else {
return false;