From b3a192fc78e2c3acfb3aaa88cde3200e81d83ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 1 Feb 2013 23:25:24 +0100 Subject: [PATCH] Fix RoomAction::prune() --- file/lib/data/room/RoomAction.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file/lib/data/room/RoomAction.class.php b/file/lib/data/room/RoomAction.class.php index 98b997e..ef84c10 100644 --- a/file/lib/data/room/RoomAction.class.php +++ b/file/lib/data/room/RoomAction.class.php @@ -65,8 +65,8 @@ public function prune() { FROM wcf".WCF_N."_user_storage WHERE - AND field = ? - AND fieldValue IS NOT NULL + field = ? + AND fieldValue IS NOT NULL )"; $stmt = \wcf\system\WCF::getDB()->prepareStatement($sql); $stmt->execute(array(0, 'roomID'));