- fix for buttons without commands (r1291)

release-0.6
alecpl 17 years ago
parent 3d35312cc4
commit 875a482d3c

@ -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;

Loading…
Cancel
Save