Fixed user option id
authorAlexander Ebert <ebert@woltlab.com>
Thu, 10 Nov 2011 16:16:37 +0000 (17:16 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 10 Nov 2011 16:16:37 +0000 (17:16 +0100)
wcfsetup/install/files/lib/data/user/User.class.php

index 57637ab7c5d3b19d97a76aa786b803246add86de..b20e373cc2eb81dc9c4e4f77dfe8b74f9eb15d50 100644 (file)
@@ -203,7 +203,7 @@ class User extends DatabaseObject {
                        return null;
                }
                
-               return self::$userOptions[$name]['optionID'];
+               return self::$userOptions[$name]->optionID;
        }
        
        /**