diff options
author | thomascube <thomas@roundcube.net> | 2006-05-05 17:18:08 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-05-05 17:18:08 +0000 |
commit | e21960f00e081a42fd1840c0c59f32b93747bcee (patch) | |
tree | de289e79e7096b13ae4c3a1a22dd3792ba0540d4 /program/include | |
parent | 8f4834d87338d0647d30ecfca0cfc871443d6604 (diff) |
Fixed typos in function rcube_button()
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/main.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 019056a5e..41861284c 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1229,7 +1229,7 @@ function rcube_button($attrib) if ($attrib['type']) $attrib['type'] = strtolower($attrib['type']); else - $attrib['type'] = ($attrib['image'] || $attrib['imagepas'] || $arg['imagect']) ? 'image' : 'link'; + $attrib['type'] = ($attrib['image'] || $attrib['imagepas'] || $arg['imageact']) ? 'image' : 'link'; $command = $attrib['command']; @@ -1239,7 +1239,7 @@ function rcube_button($attrib) $attrib = $sa_buttons[$attrib['name']]; // add button to button stack - else if($attrib['image'] || $arg['imagect'] || $attrib['imagepas'] || $attrib['class']) + else if($attrib['image'] || $arg['imageact'] || $attrib['imagepas'] || $attrib['class']) { if(!$attrib['name']) $attrib['name'] = $command; |