From: Matthias Schmidt Date: Thu, 1 Dec 2011 16:56:50 +0000 (+0100) Subject: Fixes wrong method name in UserOptionEditor::update() X-Git-Tag: 2.0.0_Beta_1~1550^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb58a66a8a4b879181e124bcaf7efd0de9781809;p=GitHub%2FWoltLab%2FWCF.git Fixes wrong method name in UserOptionEditor::update() --- diff --git a/wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php b/wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php index bb4ef4fc04..b2e480b125 100644 --- a/wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php @@ -46,7 +46,7 @@ class UserOptionEditor extends DatabaseObjectEditor { parent::update($parameters); // alter the table "wcf".WCF_N."_user_option_value" with this new option - $sql = WCF::getDB()->getEditor()->updateColumn( + WCF::getDB()->getEditor()->alterColumn( 'wcf'.WCF_N.'_user_option_value', 'userOption'.$this->optionID, 'userOption'.$this->optionID, @@ -138,4 +138,4 @@ class UserOptionEditor extends DatabaseObjectEditor { return $column; } -} \ No newline at end of file +}