summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-13 07:35:58 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-13 07:35:58 +0000
commit13b2a7623aa6c54e2fd55cab9e724ca724e3da0c (patch)
treebbea635a0cd05e18e0bcb8d81342895d739ca68c /roundcubemail/program/include
parent31d7fb58a51e4bdd6b85f48b58cb4a0b7ec83a1e (diff)
- fix for buttons without commands (r1291)
git-svn-id: https://svn.roundcube.net/trunk@1293 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rwxr-xr-xroundcubemail/program/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php
index 2002a62fc..59dfa299e 100755
--- a/roundcubemail/program/include/rcube_template.php
+++ b/roundcubemail/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;