[Pkg-owncloud-commits] [owncloud] 38/75: fix error please commit only code into the stable branch which is tested and fully working

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:08:35 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v3.0.1
in repository owncloud.

commit 5463fa2420380b77e7c809ccc54cab73441069d1
Author: Frank Karlitschek <karlitschek at kde.org>
Date:   Mon Nov 21 17:15:20 2011 +0100

    fix error
    please commit only code into the stable branch which is tested and fully working
---
 lib/db.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/db.php b/lib/db.php
index a99b255..7ba08cb 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -313,7 +313,7 @@ class OC_DB {
 		$query = str_replace( 'now()', self::$DBConnection->now(), $query );
 		
 		// differences in escaping of table names ('`' for mysql) and getting the current timestamp
-		if( $type == 'sqlite' || $type == 'sqlite3' ){
+		if( $CONFIG_DBTYPE == 'sqlite' || $CONFIG_DBTYPE == 'sqlite3' ){
 			$query = str_replace( '`', '\'', $query );
 		}
 		elseif( $CONFIG_DBTYPE == 'pgsql' ){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list