From da6ba3797f39b671c6f7318cfe39bcace3498453 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 3 Dec 2003 04:31:16 +0000 Subject: [PATCH] Cover delete_block if empty --- addressbook/inc/class.uiaddressbook.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index a57bb17fb5..748556476e 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -553,6 +553,7 @@ reset($columns_to_display); } + $GLOBALS['phpgw']->template->set_var('delete_button',''); if(count($entries)) { $GLOBALS['phpgw']->template->fp('delete_button','delete_block');