Changeset:
e855dcc62b13
https://sourceforge.net/p/mrbs/hg-code/ci/e855dcc62b13542726623703f9dc707d726e5f79
Author:
Campbell Morrison <[email protected]>
Date:
Thu Sep 29 17:14:33 2016 +0100
Log message:
Tweaked exception messages
diffstat:
web/lib/MRBS/DB.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b061874367a1 -r e855dcc62b13 web/lib/MRBS/DB.php
--- a/web/lib/MRBS/DB.php Thu Sep 29 16:01:04 2016 +0100
+++ b/web/lib/MRBS/DB.php Thu Sep 29 17:14:33 2016 +0100
@@ -128,12 +128,12 @@
if ($sth->rowCount() > 1)
{
- throw new DBException("sql_query1() returned more than one row.", 0,
null, $sql, $params);
+ throw new DBException("query1() returned more than one row.", 0, null,
$sql, $params);
}
if ($sth->columnCount() > 1)
{
- throw new DBException("sql_query1() returned more than one column.", 0,
null, $sql, $params);
+ throw new DBException("query1() returned more than one column.", 0,
null, $sql, $params);
}
if (($row = $sth->fetch(PDO::FETCH_NUM)) == NULL)
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits