designer and display field

This commit is contained in:
Marc Delisle
2007-01-19 18:14:44 +00:00
parent 8b429cdb25
commit 290939c688
124 changed files with 175 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ if ($cfgRelation['displaywork']) {
$disp = PMA_getDisplayField($db, $table);
if ($disp) {
if ($display_field != '') {
if ($display_field != $disp) {
$upd_query = 'UPDATE ' . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($cfgRelation['table_info'])
. ' SET display_field = \'' . PMA_sqlAddslashes($display_field) . '\''
. ' WHERE db_name = \'' . PMA_sqlAddslashes($db) . '\''