diff options
| author | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-14 22:05:43 +0000 |
|---|---|---|
| committer | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-14 22:05:43 +0000 |
| commit | 28de085fbed93a4e0a3e403b1aca0cec4bf68188 (patch) | |
| tree | 98ded69818eabf2b381570ecb352085d893dc117 /roundcubemail/program | |
| parent | 38d3adab4d5abddd75b50d62cee10100f9518fb1 (diff) | |
* more verbose error msg
git-svn-id: https://svn.roundcube.net/trunk@1081 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_mdb2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_mdb2.inc b/roundcubemail/program/include/rcube_mdb2.inc index acb167bc1..8628bc17c 100644 --- a/roundcubemail/program/include/rcube_mdb2.inc +++ b/roundcubemail/program/include/rcube_mdb2.inc @@ -102,7 +102,7 @@ class rcube_mdb2 $this->db_error_msg = $dbh->getMessage(); raise_error(array('code' => 500, 'type' => 'db', 'line' => __LINE__, 'file' => __FILE__, - 'message' => $dbh->getMessage()), TRUE, FALSE); + 'message' => $dbh->getUserInfo()), TRUE, FALSE); } else if ($this->db_provider=='sqlite') { |
