Fixed bug commented in my previous commit. Was caused by the

commit itselfl. My fault. (blush)
This commit is contained in:
stronk7
2007-09-05 23:08:52 +00:00
parent a2cdd7645e
commit ce1b964592
+1 -1
View File
@@ -2869,7 +2869,7 @@
sql_compare_text('description') . " = " .
sql_compare_text($literal_description);
}
if ($gro_db = get_record_sql("SELECT *
if (!$gro_db = get_record_sql("SELECT *
FROM {$CFG->prefix}groups
WHERE courseid = $restore->course_id AND
name = '{$gro->name}'" . $description_clause)) {