Better error handling during install.
This commit is contained in:
parent
dfa52185ca
commit
5616c58535
|
@ -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 New Issue
Block a user