Commit 6c236e8f authored by Jeffrey Way's avatar Jeffrey Way

Added error handling

parent f5e542d1
......@@ -256,7 +256,7 @@ class MysqlDB {
protected function _prepareQuery() {
if (!$stmt = $this->_mysql->prepare($this->_query)) {
trigger_error("Connection issue", E_USER_ERROR);
trigger_error("Problem preparing query", E_USER_ERROR);
}
return $stmt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment