MDL-24848 fixed broken extra memory limit

This commit is contained in:
Petr Skoda
2010-10-26 08:02:51 +00:00
parent 8260ca36d5
commit d827f7b8b0
+1 -1
View File
@@ -814,7 +814,7 @@ function raise_memory_limit($newlimit) {
} else {
$newlimit = get_real_size('256M');
}
if (empty($CFG->extramemorylimit)) {
if (!empty($CFG->extramemorylimit)) {
$extra = get_real_size($CFG->extramemorylimit);
if ($extra > $newlimit) {
$newlimit = $extra;