From: Joshua Rüsweg Date: Thu, 31 Jul 2014 11:33:10 +0000 (+0200) Subject: fix ad edit mistake X-Git-Tag: 2.1.0_Alpha_1~501^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e02169fa7b91fbd1aa008575f1f39218f7949b7;p=GitHub%2FWoltLab%2FWCF.git fix ad edit mistake Who does not know this Copy and past mistakes ^ ^ --- diff --git a/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php b/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php index da372ec7b1..150dd77cbd 100644 --- a/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php @@ -126,7 +126,7 @@ class AdEditForm extends AdAddForm { } } - ConditionHandler::getInstance()->updateConditions($this->notice->noticeID, $this->notice->getConditions(), $conditions); + ConditionHandler::getInstance()->updateConditions($this->adObject->adID, $this->adObject->getConditions(), $conditions); $this->saved();