diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-09-15 11:37:42 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-09-15 11:37:42 +0200 |
commit | 83a64265a7d8865f0381e53a0cc47d6ef53217b6 (patch) | |
tree | 804c38eb1eaf4e40dc48395b9597edc4b8df4f96 /program/lib | |
parent | b84a04336b4fd614b08b769ffbad4c5fd2d69254 (diff) |
Fixes for Oracle
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_db_oracle.php | 2 | ||||
-rw-r--r-- | program/lib/Roundcube/rcube_user.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_db_oracle.php b/program/lib/Roundcube/rcube_db_oracle.php index 95a7fa2c4..ddd351ec3 100644 --- a/program/lib/Roundcube/rcube_db_oracle.php +++ b/program/lib/Roundcube/rcube_db_oracle.php @@ -141,7 +141,7 @@ class rcube_db_oracle extends rcube_db { if ($interval) { $interval = intval($interval); - return "current_timestamp + INTERVAL $interval SECOND"; + return "current_timestamp + INTERVAL '$interval' SECOND"; } return "current_timestamp"; diff --git a/program/lib/Roundcube/rcube_user.php b/program/lib/Roundcube/rcube_user.php index b63cabece..b2110df8b 100644 --- a/program/lib/Roundcube/rcube_user.php +++ b/program/lib/Roundcube/rcube_user.php @@ -341,7 +341,7 @@ class rcube_user $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). |