bug 576786

This commit is contained in:
Marc Delisle 2002-07-03 15:04:06 +00:00
parent e2c6a3d449
commit 40593910ef
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ $Source$
* left.php3: the - as first choice is not clear
* tbl_properties_table_info.php3, tbl_properties_links.php3: bug
576776: ShowAll never displayed
* display_tbl.lib.php3: bug 576786: printview and ModifyDeleteAtRight
2002-07-01 Alexander M. Turek <rabus@users.sourceforge.net>
* sql.php3: Completed fix against bug #575867 (Error with limit or load in

View File

@ -677,8 +677,10 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
}
// ... else if no button, displays empty cols if required
// (unless coming from Browse mode print view)
else if ($GLOBALS['cfg']['ModifyDeleteAtRight']
&& ($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')) {
&& ($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
&& (!$GLOBALS['is_header_sent'])) {
$vertical_display['emptyafter'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 1;
if ($disp_direction == 'horizontal') {
echo "\n";