Fixes error
authorMatthias Schmidt <gravatronics@live.com>
Mon, 10 Sep 2012 12:23:31 +0000 (14:23 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 10 Sep 2012 12:23:31 +0000 (14:23 +0200)
wcfsetup/install/files/lib/data/user/User.class.php

index dd1a06f5667b0812bdf89b70f30be07134e41e78..3507cce98be282f3d1ba9292b60f73b6dd89d80c 100644 (file)
@@ -181,7 +181,7 @@ final class User extends DatabaseObject implements IRouteController {
                                }
                        }
                        else {
-                               $this->languageIDs[] = WCF::getUser()->languageID;
+                               $this->languageIDs[] = WCF::getLanguage()->languageID;
                        }
                }