From 6fdea1a0bdb797228453700da30a99205ee7c9ce Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 2 Oct 2006 16:46:12 +0000 Subject: [PATCH] In my previous commit, "I" was "It" :-D Plus one typo fixed. --- lib/ddllib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5