[Pkg-owncloud-commits] [owncloud] 125/394: fix copy-paste error in sql query
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:11:43 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit e9c710e4fcad248bd0fbabd97ed83541bcf534c1
Author: Robin Appelman <icewind at owncloud.com>
Date: Wed Nov 21 00:05:32 2012 +0100
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 10928dc..d9ad82d 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'));
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list