fixed SQL error under PostgreSQL with new filesystem check

This commit is contained in:
Ralf Becker 2012-02-29 13:47:52 +00:00
parent 4711bc2ac1
commit 12f34cd307

View File

@ -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)
{