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 = new DbTool($this->getValues());
|
||||||
$db->checkConnectivity();
|
$db->checkConnectivity();
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$this->addError($e->getMessage());
|
$this->error($e->getMessage());
|
||||||
$this->addSkipValidationCheckbox();
|
$this->addSkipValidationCheckbox();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue