get_record should be get_record_sql ...
Does this mean that none of the WIki upgrading actually worked???
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user