mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
fix error
please commit only code into the stable branch which is tested and fully working
This commit is contained in:
parent
7261f0f358
commit
5463fa2420
1 changed files with 1 additions and 1 deletions
|
|
@ -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' ){
|
||||
|
|
|
|||
Loading…
Reference in a new issue