From: Jim Martens Date: Tue, 25 Sep 2012 15:41:38 +0000 (+0200) Subject: Fixed wrong column name. X-Git-Tag: 2.0.0_Beta_1~918^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc4a624880f87c3e8d3b26d887a348b310e5088c;p=GitHub%2FWoltLab%2FWCF.git Fixed wrong column name. --- diff --git a/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php b/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php index 99beee71ea..67bee17925 100644 --- a/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php +++ b/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php @@ -297,7 +297,7 @@ class ClipboardHandler extends SingletonFactory { public function removeItems($typeID = null) { $conditions = new PreparedStatementConditionBuilder(); $conditions->add("userID = ?", array(WCF::getUser()->userID)); - if ($typeID !== null) $conditions->add("typeID = ?", array($typeID)); + if ($typeID !== null) $conditions->add("objectTypeID = ?", array($typeID)); $sql = "DELETE FROM wcf".WCF_N."_clipboard_item ".$conditions;