Better error handling during install.
This commit is contained in:
parent
dfa52185ca
commit
5616c58535
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue