From: Marcel Werk Date: Mon, 29 Apr 2013 13:05:51 +0000 (+0200) Subject: Fixed content language issue for search robots X-Git-Tag: 2.0.0_Beta_1~283 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a26762e72cc5c9cfdd3722f1da2cd404ebcae846;p=GitHub%2FWoltLab%2FWCF.git Fixed content language issue for search robots --- diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index fe8daac145..d3b38435c3 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -215,7 +215,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr $this->languageIDs = unserialize($data[$this->userID]); } } - else { + else if (!WCF::getSession()->spiderID) { $this->languageIDs[] = WCF::getLanguage()->languageID; } }