From b02ee3082a059e27620b0b5e77e1a9257994818a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 23 Sep 2011 10:19:26 +0200 Subject: [PATCH] Fixes wcf\acp\form\UpdateServerEditForm Two errors: * Wrong database table column name which causes database error * Wrong class property and object property name which causes that the server url isn't shown in the form --- .../install/files/lib/acp/form/UpdateServerEditForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UpdateServerEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UpdateServerEditForm.class.php index fd813fffb0..054d2bc8a3 100755 --- a/wcfsetup/install/files/lib/acp/form/UpdateServerEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UpdateServerEditForm.class.php @@ -55,7 +55,7 @@ class UpdateServerEditForm extends UpdateServerAddForm { // save server $updateServerAction = new PackageUpdateServerAction(array($this->packageUpdateServerID), 'update', array('data' => array( - 'server' => $this->serverURL, + 'serverURL' => $this->serverURL, 'loginUsername' => $this->loginUsername, 'loginPassword' => $this->loginPassword ))); @@ -73,7 +73,7 @@ class UpdateServerEditForm extends UpdateServerAddForm { parent::readData(); if (!count($_POST)) { - $this->server = $this->updateServer->server; + $this->serverURL = $this->updateServer->serverURL; $this->loginUsername = $this->updateServer->loginUsername; $this->loginPassword = $this->updateServer->loginPassword; } -- 2.20.1