From ed5d29f4b3c57235594931d33dde7cccaf7cd58b Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 25 May 2006 14:25:04 -0400 Subject: [PATCH] Finalized GoogieSpell integration --- program/include/main.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/include/main.inc b/program/include/main.inc index 019056a..b68a0c2 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -78,7 +78,7 @@ // we can use the database for storing session data // session queries do not work with MDB2 - if ($CONFIG['db_backend']!='mdb2' && !$DB->is_error()) + if (!$DB->is_error()) include_once('include/session.inc'); // init session @@ -1229,7 +1229,7 @@ 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 @@ $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; -- Gitblit v1.9.1