Fixed bug #7850: error in publish.php if errors in TCE should be shown, credits Danie...
authorIngo Renner <ingo.renner@typo3.org>
Fri, 14 Mar 2008 07:09:20 +0000 (07:09 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Fri, 14 Mar 2008 07:09:20 +0000 (07:09 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3422 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/user/ws/publish.php

index adc1b3b..e97c9da 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-14  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #7850: error in publish.php if errors in TCE should be shown, credits Daniel Pötzinger
+
 2008-03-13  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #7851: htmlArea RTE causes memory leaks in IE
index b92323c..bdda1bf 100644 (file)
@@ -188,7 +188,7 @@ class SC_mod_user_ws_publish extends t3lib_SCbase {
 
                                $errors = $tce->errorLog;
                                if (count($errors) > 0) {
-                                       $content .= '<h3>' . $LANG->getLL('label_errors') . '</h3><br/>' . implode('<br/>',$errors);
+                                       $content .= '<h3>' . $GLOBALS['LANG']->getLL('label_errors') . '</h3><br/>' . implode('<br/>',$errors);
                                        $content .= '<br /><br /><a href="index.php">' . $GLOBALS['LANG']->getLL('return_to_index') . '</a>';
                                }
                                else {