summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r--installer/rcube_install.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 8caa79d02..12cd5c10d 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -171,7 +171,7 @@ class rcube_install
$out);
}
- return $out;
+ return trim($out);
}
@@ -305,6 +305,8 @@ class rcube_install
if (eregi(';$', trim($line))) {
$DB->query($buff);
$buff = '';
+ if ($this->get_error())
+ break;
}
}
}