diff options
author | alecpl <alec@alec.pl> | 2009-04-21 06:50:48 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-04-21 06:50:48 +0000 |
commit | bac356569586eafca9fd1e5578c031a36a8c95ea (patch) | |
tree | c78f6975540e8864593907bd6f24bdca51bc7ec5 | |
parent | 652a7f0ed2e6d1749fd56cd951e5daea2a4b171a (diff) |
- Fix read/write database recognition (#1485811)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/rcube_mdb2.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Fix read/write database recognition (#1485811) - Fix quicksearchbox look in Chrome and Konqueror (#1484841) - Fix UTF-8 byte-order mark removing (#1485514) - Fix folders subscribtions on Konqueror (#1484841) diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index 54fd35787..1c491a874 100644 --- a/program/include/rcube_mdb2.php +++ b/program/include/rcube_mdb2.php @@ -228,7 +228,7 @@ class rcube_mdb2 function _query($query, $offset, $numrows, $params) { // Read or write ? - if (strtolower(trim(substr($query,0,6)))=='select') + if (strtolower(substr(trim($query),0,6))=='select') $mode='r'; else $mode='w'; |