thomascube
2009-04-26 1c932d58b57930ce527a77e885ace5b430a60883
program/include/rcube_mdb2.php
@@ -5,7 +5,7 @@
 | program/include/rcube_mdb2.php                                        |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland                 |
 | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland                 |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
@@ -228,7 +228,7 @@
  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';