Fix a typo of the last commit.
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Wed, 28 Jun 2006 16:48:46 +0000 (16:48 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Wed, 28 Jun 2006 16:48:46 +0000 (16:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1551 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/class.tslib_content.php

index d6899de..0d40113 100755 (executable)
@@ -6845,7 +6845,7 @@ class tslib_cObj {
                } else {
                        $lang = -1;
                }
-               if (!$BE_USER->checkLanguageAccess($lang)       { return $content; }
+               if (!$BE_USER->checkLanguageAccess($lang))      { return $content; }
 
                if (!$conf['onlyCurrentPid'] || $dataArr['pid']==$GLOBALS['TSFE']->id)  {
                                // Permissions:
@@ -7044,7 +7044,7 @@ class tslib_cObj {
                        } else {
                                $lang = -1;
                        }
-                       if (!$BE_USER->checkLanguageAccess($lang)       { $mayEdit = 0; }
+                       if (!$BE_USER->checkLanguageAccess($lang))      { $mayEdit = 0; }
                }
 
                if ($GLOBALS['TSFE']->displayFieldEditIcons && $table && $mayEdit && $fieldList)        {