DbResourcePage: Prefer our form error implementation
This commit is contained in:
parent
2b11168673
commit
f8034cfb9d
|
@ -75,7 +75,7 @@ class DbResourcePage extends Form
|
|||
$db = new DbTool($this->getValues());
|
||||
$db->checkConnectivity();
|
||||
} catch (PDOException $e) {
|
||||
$this->addError($e->getMessage());
|
||||
$this->error($e->getMessage());
|
||||
$this->addSkipValidationCheckbox();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue