From: Alexander Ebert Date: Mon, 29 Jul 2013 10:56:19 +0000 (+0200) Subject: Updating package update lists upon searching X-Git-Tag: 2.0.0_Beta_6~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e5b37c2d65ac489297161e743da92bab9ef68fa1;p=GitHub%2FWoltLab%2FWCF.git Updating package update lists upon searching --- diff --git a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php index f6a00163c4..4912f3611b 100644 --- a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php +++ b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php @@ -59,6 +59,8 @@ class PackageUpdateAction extends AbstractDatabaseObjectAction { * @return array */ public function search() { + PackageUpdateDispatcher::getInstance()->refreshPackageDatabase(); + $conditions = new PreparedStatementConditionBuilder(); if (!empty($this->parameters['package'])) { $conditions->add("package_update.package LIKE ?", array('%'.$this->parameters['package'].'%'));