Fixes wrong method name in UserOptionEditor::update()
authorMatthias Schmidt <gravatronics@live.com>
Thu, 1 Dec 2011 16:56:50 +0000 (17:56 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 1 Dec 2011 16:56:50 +0000 (17:56 +0100)
wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php

index bb4ef4fc042093e663e597081bca60485ab765ef..b2e480b12562b447a762c70dde5a91492c156a35 100644 (file)
@@ -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
+}