From 875a482d3c47218b8d191bb07fdb16373a80b1d4 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 13 Apr 2008 07:35:58 +0000 Subject: - fix for buttons without commands (r1291) --- program/include/rcube_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 2002a62fc..59dfa299e 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -467,7 +467,7 @@ class rcube_template extends rcube_html_page switch ($command) { // return a button case 'button': - if ($attrib['command']) { + if ($attrib['name'] || $attrib['command']) { return $this->button($attrib); } break; -- cgit v1.2.3