Thomas Bruederli
2012-08-15 0db8d00d298f8f67d6843f016a5a6259edff9f96
PDO: quote null values as NULL instad of an empty string
1 files modified
4 ■■■■ changed files
program/include/rcube_db.php 4 ●●●● patch | view | raw | blame | history
program/include/rcube_db.php
@@ -576,6 +576,10 @@
            return intval($input);
        }
        if (is_null($input)) {
            return 'NULL';
        }
        // create DB handle if not available
        if (!$this->dbh) {
            $this->db_connect('r');