diff options
author | alecpl <alec@alec.pl> | 2008-04-13 07:35:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-04-13 07:35:58 +0000 |
commit | 875a482d3c47218b8d191bb07fdb16373a80b1d4 (patch) | |
tree | 01daeb8f4d1cd7a84272c7340a022d83ea3ea3c0 | |
parent | 3d35312cc4badb64a2c26db8e80c1a01f2d1c12b (diff) |
- fix for buttons without commands (r1291)
-rwxr-xr-x | program/include/rcube_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |