From 2cec97a6c56285d593777a6397123c84f306c794 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 7 Dec 2017 17:28:00 +0800 Subject: [PATCH] replace from PostgreSQL not understood && with standard AND --- api/src/Vfs/Sqlfs/StreamWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Vfs/Sqlfs/StreamWrapper.php b/api/src/Vfs/Sqlfs/StreamWrapper.php index 84c0db13d7..2314c69225 100644 --- a/api/src/Vfs/Sqlfs/StreamWrapper.php +++ b/api/src/Vfs/Sqlfs/StreamWrapper.php @@ -1570,7 +1570,7 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface $query = 'SELECT MIN(B.fs_id) FROM '.self::TABLE.' as A JOIN '.self::TABLE.' AS B ON A.fs_name = B.fs_name AND A.fs_dir = B.fs_dir AND A.fs_active = '. - self::_pdo_boolean(true).' && B.fs_active = '.self::_pdo_boolean(false).' + self::_pdo_boolean(true).' AND B.fs_active = '.self::_pdo_boolean(false).' WHERE A.fs_id=? GROUP BY A.fs_id'; if (self::LOG_LEVEL > 2)