In my previous commit, "I" was "It" :-D

Plus one typo fixed.
This commit is contained in:
stronk7 2006-10-02 16:46:12 +00:00
parent af72e37237
commit 6fdea1a0bd

View File

@ -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
}