diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-13 07:35:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-13 07:35:58 +0000 |
| commit | 13b2a7623aa6c54e2fd55cab9e724ca724e3da0c (patch) | |
| tree | bbea635a0cd05e18e0bcb8d81342895d739ca68c | |
| parent | 31d7fb58a51e4bdd6b85f48b58cb4a0b7ec83a1e (diff) | |
- fix for buttons without commands (r1291)
git-svn-id: https://svn.roundcube.net/trunk@1293 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 2 |
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; |
