From 83a64265a7d8865f0381e53a0cc47d6ef53217b6 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 15 Sep 2014 05:37:42 -0400
Subject: [PATCH] Fixes for Oracle
---
program/lib/Roundcube/rcube_db_oracle.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/lib/Roundcube/rcube_db_oracle.php b/program/lib/Roundcube/rcube_db_oracle.php
index 95a7fa2..ddd351e 100644
--- a/program/lib/Roundcube/rcube_db_oracle.php
+++ b/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";
--
Gitblit v1.9.1