diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-21 06:50:48 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-21 06:50:48 +0000 |
| commit | c81d0dca20be58df0e32a6545dd02d069158839f (patch) | |
| tree | e4c00b93daa16428bb6cfe13c051c37ce3c72c53 /roundcubemail/program/include | |
| parent | bcae490912757ddd72b689a2e376f75a32eb4f67 (diff) | |
- Fix read/write database recognition (#1485811)
git-svn-id: https://svn.roundcube.net/trunk@2406 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_mdb2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_mdb2.php b/roundcubemail/program/include/rcube_mdb2.php index 54fd35787..1c491a874 100644 --- a/roundcubemail/program/include/rcube_mdb2.php +++ b/roundcubemail/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'; |
