From e70d6ea64e711096af36b1234f8545b870ea5f45 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 05 Apr 2008 08:49:21 -0400
Subject: [PATCH] Apply changes from trunk to 0.1-stable

---
 installer/rcube_install.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 8caa79d..12cd5c1 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -171,7 +171,7 @@
         $out);
     }
     
-    return $out;
+    return trim($out);
   }
   
   
@@ -305,6 +305,8 @@
         if (eregi(';$', trim($line))) {
           $DB->query($buff);
           $buff = '';
+          if ($this->get_error())
+            break;
         }
       }
     }

--
Gitblit v1.9.1