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