From f672f1df721b80dbc216e04093f28adf3f286075 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 10 Sep 2012 14:23:31 +0200 Subject: [PATCH] Fixes error --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index dd1a06f566..3507cce98b 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -181,7 +181,7 @@ final class User extends DatabaseObject implements IRouteController { } } else { - $this->languageIDs[] = WCF::getUser()->languageID; + $this->languageIDs[] = WCF::getLanguage()->languageID; } } -- 2.20.1