bug 442778

This commit is contained in:
Marc Delisle
2001-08-06 23:46:20 +00:00
parent a15222421e
commit bfbab21e0b
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ $Source$
* lib.inc.php3, new code from Loic to avoid showing BLOB
when displaying a TEXT field
* sql.php3, bug 448226 (Missing MySQL messages), correction from Loic.
* tbl_change.php3, bug 442778, Edit record with two similar SET fields
2001-08-06 Steve Alberty <alberty@nepunlabs.de>
* index.php3: remove warning under Apache 2.0.23-dev

View File

@@ -240,7 +240,7 @@ for ($i = 0; $i < mysql_num_rows($table_def); $i++) {
$set = str_replace('set(', '', $row_table_def['Type']);
$set = ereg_replace('\)$', '', $set);
$set = explode(',', $set);
unset($vset);
for ($vals = explode(',', $data); list($t, $k) = each($vals);) {
$vset[$k] = 1;
}