mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-20522 the $result was forgotten in the last test if ($result && $oldversion < 2009092000)
This commit is contained in:
parent
3c41bba0f2
commit
188c3eaa80
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function xmldb_qtype_calculated_upgrade($oldversion) {
|
|||
}
|
||||
upgrade_plugin_savepoint($result, 2009082000 , 'qtype', 'calculated');
|
||||
}
|
||||
if ( $oldversion < 2009092000 ) { //New version in version.php
|
||||
if ( $result && $oldversion < 2009092000 ) { //New version in version.php
|
||||
|
||||
/// Define field multichoice to be added to question_calculated_options
|
||||
$table = new xmldb_table('question_calculated_options');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue