From f2d06cbe56e3a44c8f4d70a831a422b9f1b5c979 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 2 Dec 2005 10:43:39 +0000 Subject: [PATCH] fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong --- phpgwapi/inc/class.vfs_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vfs_sql.inc.php b/phpgwapi/inc/class.vfs_sql.inc.php index 2d513bad61..f9863b9ecb 100644 --- a/phpgwapi/inc/class.vfs_sql.inc.php +++ b/phpgwapi/inc/class.vfs_sql.inc.php @@ -175,7 +175,7 @@ $data = array ('query_type' => VFS_SQL_SELECT); } - if ($data['query_type'] == VFS_SQL_SELECT || $data['query_type'] == VFS_SQL_DELETE || $data['query_type'] = VFS_SQL_UPDATE) + if ($data['query_type'] == VFS_SQL_SELECT || $data['query_type'] == VFS_SQL_DELETE || $data['query_type'] == VFS_SQL_UPDATE) { return "((vfs_mime_type != '".implode("' AND vfs_mime_type != '",$this->meta_types)."') OR vfs_mime_type IS NULL)"; }