fix ad edit mistake
authorJoshua Rüsweg <josh@joshsboard.de>
Thu, 31 Jul 2014 11:33:10 +0000 (13:33 +0200)
committerJoshua Rüsweg <josh@joshsboard.de>
Thu, 31 Jul 2014 11:33:10 +0000 (13:33 +0200)
Who does not know this Copy and past mistakes ^ ^

wcfsetup/install/files/lib/acp/form/AdEditForm.class.php

index da372ec7b1c3d15b3a6dbd86efec5ea998161e7f..150dd77cbd2e2b0f21b1350b9eede70afcbb771a 100644 (file)
@@ -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();