Skip to content

Commit

Permalink
Fix wrong table name
Browse files Browse the repository at this point in the history
  • Loading branch information
nathangray committed Oct 27, 2017
1 parent 0d14155 commit 616c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/Vfs/Sqlfs/StreamWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1568,8 +1568,8 @@ static function get_minimum_file_id($path)
$fs_id = (int)$stat['ino'];

$query = 'SELECT MIN(B.fs_id)
FROM egroupware.egw_sqlfs as A
JOIN egroupware.egw_sqlfs AS B ON
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 = 1 && B.fs_active = 0
WHERE A.fs_id=?
GROUP BY A.fs_id';
Expand Down

0 comments on commit 616c11c

Please sign in to comment.