diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_mdb2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |