This commit is contained in:
Alexander M. Turek
2002-09-28 18:42:17 +00:00
parent ac60f9bf1c
commit d26406befe
2 changed files with 4 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ $Source$
* libraries/config_import.lib.php3:
- Fixed an inconsitence;
- Fixed an "undefined index" error.
* tbl_alter.php3: Fixed bug #615888 (error in column naming).
2002-09-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* db_details_qbe.php3: PHP3 fixes & coding standards.

View File

@@ -44,15 +44,15 @@ if (isset($submit)) {
// Some fields have been urlencoded or double quotes have been translated
// to "&quot;" in tbl_properties.php3
$field_orig[$i] = urldecode($field_orig[$i]);
if (str_replace('"', '&quot;', $field_orig[$i]) == $field_name[$i]) {
if (strcmp(str_replace('"', '&quot;', $field_orig[$i]), $field_name[$i]) == 0) {
$field_name[$i] = $field_orig[$i];
}
$field_default_orig[$i] = urldecode($field_default_orig[$i]);
if (str_replace('"', '&quot;', $field_default_orig[$i]) == $field_default[$i]) {
if (strcmp(str_replace('"', '&quot;', $field_default_orig[$i]), $field_default[$i])) {
$field_default[$i] = $field_default_orig[$i];
}
$field_length_orig[$i] = urldecode($field_length_orig[$i]);
if (str_replace('"', '&quot;', $field_length_orig[$i]) == $field_length[$i]) {
if (strcmp(str_replace('"', '&quot;', $field_length_orig[$i]), $field_length[$i])) {
$field_length[$i] = $field_length_orig[$i];
}
if (!isset($query)) {