From ea5cda531056aa36c7ff3238686110f3019def4a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 29 Feb 2008 07:23:14 +0000 Subject: [PATCH] fixed typo preventing non-root access --- phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php b/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php index 96eb93ff8c..c99dcd2401 100644 --- a/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php @@ -898,7 +898,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper // if we are not root, we need to make sure the user has the right to tranverse all partent directories (read-rights) if (!egw_vfs::$is_root) { - $query .= ' AND '.$sql_read_acl; + $query .= ' AND '.self::_sql_readable(); } } else