From: stronk7 Date: Mon, 2 Oct 2006 16:46:12 +0000 (+0000) Subject: In my previous commit, "I" was "It" :-D X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6fdea1a0bdb797228453700da30a99205ee7c9ce;p=moodle.git In my previous commit, "I" was "It" :-D Plus one typo fixed. --- diff --git a/lib/ddllib.php b/lib/ddllib.php index 5067eaad30..b541993b59 100644 --- a/lib/ddllib.php +++ b/lib/ddllib.php @@ -848,7 +848,7 @@ function rename_field($table, $field, $newname, $continue=true, $feedback=true) } /// Check field isn't id. Renaming over that field is not allowed - if ($field->getName() == 'id')) { + if ($field->getName() == 'id') { debugging('Field ' . $field->getName() . ' cannot be renamed. Rename skipped', DEBUG_DEVELOPER); return true; //Field is "id", nothing to do }