get_record should be get_record_sql ...

Does this mean that none of the WIki upgrading actually worked???
This commit is contained in:
moodler
2005-04-18 02:26:52 +00:00
parent 1d3a7a859c
commit 245be804c7
+1 -1
View File
@@ -381,7 +381,7 @@ class WikiToMarkdown {
if (!$coursesql) {
$courseid = $record->course;
} else {
$r = get_record( $coursesql . "$id" );
$r = get_record_sql( $coursesql . "$id" );
$courseid = $r->course;
}
$newtext = $this->convert( $text,$courseid );