diff options
Diffstat (limited to 'program')
-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; |