Fixed some minor errors
authorMarcel Werk <burntime@woltlab.com>
Tue, 2 Aug 2011 19:19:58 +0000 (21:19 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 2 Aug 2011 19:19:58 +0000 (21:19 +0200)
wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php
wcfsetup/install/files/lib/data/acp/session/ACPSessionList.class.php

index b30e457c00ec98bf761d1e018b17007f7b2ea23f..43f8be3cfc7896d776b6c738137ee0363fa20d55 100755 (executable)
@@ -66,7 +66,7 @@ class PackageUpdateSearchResultPage extends SortablePage {
                if (isset($_REQUEST['searchID'])) $this->searchID = intval($_REQUEST['searchID']);
                
                // get search data
-               $conditions = new PrepareStatementConditionBuilder();
+               $conditions = new PreparedStatementConditionBuilder();
                $conditions->add("searchID = ?", array($this->searchID));
                $conditions->add("userID = ?", array(WCF::getUser()->userID));
                $conditions->add("searchType = ?", array('packages'));
index 15492ff70f8d9e9ffa81db894ecd3b3349fb5ee3..ba8e24ba7f7afe122e4beb22d213f5a96fd27737 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace wcf\data\acp\session;
+use wcf\data\DatabaseObjectList;
 
 /**
  * Represents a list of ACP sessions.