MDL-46212 questions: add {} whenver vars are put into "" strings
Having had one subtle bug cased be this, I decided to do a search and fix all of these.
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ $export_form = new question_export_form($thispageurl,
|
||||
|
||||
if ($from_form = $export_form->get_data()) {
|
||||
$thiscontext = $contexts->lowest();
|
||||
if (!is_readable("format/$from_form->format/format.php")) {
|
||||
if (!is_readable("format/{$from_form->format}/format.php")) {
|
||||
print_error('unknowformat', '', '', $from_form->format);
|
||||
}
|
||||
$withcategories = 'nocategories';
|
||||
|
||||
Reference in New Issue
Block a user