From 9696717e37d584280dab10e4885c739c7a60bd3b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 29 Feb 2012 13:48:58 +0000 Subject: [PATCH] fixed SQL error under PostgreSQL with new filesystem check --- phpgwapi/inc/class.sqlfs_utils.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.sqlfs_utils.inc.php b/phpgwapi/inc/class.sqlfs_utils.inc.php index f20baaf30e..088af08ad8 100644 --- a/phpgwapi/inc/class.sqlfs_utils.inc.php +++ b/phpgwapi/inc/class.sqlfs_utils.inc.php @@ -183,7 +183,7 @@ class sqlfs_utils extends sqlfs_stream_wrapper $msgs = array(); foreach(self::$pdo->query('SELECT fs.* FROM '.self::TABLE.' fs'. ' LEFT JOIN '.self::TABLE.' dir ON dir.fs_id=fs.fs_dir'. - ' WHERE fs.fs_id > 1 && dir.fs_id IS NULL') as $row) + ' WHERE fs.fs_id > 1 AND dir.fs_id IS NULL') as $row) { if ($check_only) {