Aleksander Machniak
2014-09-15 83a64265a7d8865f0381e53a0cc47d6ef53217b6
Fixes for Oracle
2 files modified
4 ■■■■ changed files
program/lib/Roundcube/rcube_db_oracle.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_user.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_db_oracle.php
@@ -141,7 +141,7 @@
    {
        if ($interval) {
            $interval = intval($interval);
            return "current_timestamp + INTERVAL $interval SECOND";
            return "current_timestamp + INTERVAL '$interval' SECOND";
        }
        return "current_timestamp";
program/lib/Roundcube/rcube_user.php
@@ -341,7 +341,7 @@
            $insert_cols[]   = $this->db->quote_identifier($col);
            $insert_values[] = $value;
        }
        $insert_cols[]   = 'user_id';
        $insert_cols[]   = $this->db->quote_identifier('user_id');
        $insert_values[] = $this->ID;
        $sql = "INSERT INTO ".$this->db->table_name('identities', true).