Skip to content

Commit

Permalink
MDL-18472 fixed missing argument in deprecated function, thanks Gordo…
Browse files Browse the repository at this point in the history
…n Bateson
  • Loading branch information
skodak committed Mar 26, 2009
1 parent 0362f01 commit fe772c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Expand Up @@ -709,7 +709,7 @@ function change_field_default($table, $field) {
function rename_field($table, $field, $newname) {
global $DB;
debugging('Deprecated ddllib function used!');
$DB->get_manager()->rename_field($table, $field);
$DB->get_manager()->rename_field($table, $field, $newname);
return true;
}

Expand Down

0 comments on commit fe772c2

Please sign in to comment.