Better error handling during install.

This commit is contained in:
Michael Vogel 2014-05-09 20:44:25 +02:00
parent dfa52185ca
commit 5616c58535

View File

@ -504,7 +504,7 @@ function load_database($db) {
foreach($arr as $a) {
if(strlen(trim($a))) {
$r = @$db->q(trim($a));
if(! $r) {
if(false === $r) {
$errors .= t('Errors encountered creating database tables.') . $a . EOL;
}
}