Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
math authored and math committed Aug 16, 2014
1 parent bd2e78d commit fa052fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions languages/de/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
* Load on be_welcome
*/
if (TL_MODE == 'BE') {
$this->import('BackendUser', 'User');
if (!strlen($_GET['do']) && ($this->User->language == "de") ) {
$objUser = BackendUser::getInstance();
if (!strlen($_GET['do']) && ($objUser->language == "de") ) {
$bepiwikcharts = new bepiwikcharts();
$GLOBALS['TL_LANG']['MSC']['welcomeTo'] .= '</h1>' . $bepiwikcharts->dashboardWelcomePage() . '<h1 style="display:none">&nbsp;';
}
Expand Down
4 changes: 2 additions & 2 deletions languages/en/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
* Load on be_welcome
*/
if (TL_MODE == 'BE') {
$this->import('BackendUser', 'User');
if (!strlen($_GET['do']) && ($this->User->language != "de") ) {
$objUser = BackendUser::getInstance();
if (!strlen($_GET['do']) && ($objUser->language != "de") ) {
$bepiwikcharts = new bepiwikcharts();
$GLOBALS['TL_LANG']['MSC']['welcomeTo'] .= '</h1>' . $bepiwikcharts->dashboardWelcomePage() . '<h1 style="display:none">&nbsp;';
}
Expand Down

0 comments on commit fa052fe

Please sign in to comment.