From e9c710e4fcad248bd0fbabd97ed83541bcf534c1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 21 Nov 2012 00:05:32 +0100 Subject: [PATCH] fix copy-paste error in sql query fixes #526 --- lib/filecache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filecache.php b/lib/filecache.php index 10928dcbde..d9ad82df61 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -509,7 +509,7 @@ class OC_FileCache{ $query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 WHERE `user`=? AND `mimetype`= ? '); $query->execute(array($user,'httpd/unix-directory')); }else{ - $query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 AND `mimetype`= ? '); + $query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 WHERE `mimetype`= ? '); $query->execute(array('httpd/unix-directory')); } }