DbResourcePage: Prefer our form error implementation

This commit is contained in:
Johannes Meyer 2015-07-02 11:18:45 +02:00
parent 2b11168673
commit f8034cfb9d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}