Fixed bug #11769: publish function in adminPanel is broken
authorRupert Germann <rupi@gmx.li>
Sun, 23 Aug 2009 14:48:37 +0000 (14:48 +0000)
committerRupert Germann <rupi@gmx.li>
Sun, 23 Aug 2009 14:48:37 +0000 (14:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5813 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/index_ts.php
typo3/sysext/cms/tslib/publish.php

index 6cbd7b1..ea9056f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-23  Rupert Germann  <rupi@gmx.li>
+
+       * Fixed bug #11769: publish function in adminPanel is broken
+
 2009-08-22  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #11744: Usage of $BACK_PATH without globals
 2009-08-22  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #11744: Usage of $BACK_PATH without globals
index 77d68c9..a7c6cd7 100644 (file)
@@ -514,7 +514,7 @@ $TSFE->previewInfo();
 // ******************
 // Publishing static
 // ******************
 // ******************
 // Publishing static
 // ******************
-if (is_object($BE_USER) && ($BE_USER->adminPabel instanceof tslib_AdminPanel)) {
+if (is_object($BE_USER) && ($BE_USER->adminPanel instanceof tslib_AdminPanel)) {
        if ($BE_USER->adminPanel->isAdminModuleEnabled('publish') && $BE_USER->adminPanel->getExtPublishList()) {
                include_once(PATH_tslib.'publish.php');
        }
        if ($BE_USER->adminPanel->isAdminModuleEnabled('publish') && $BE_USER->adminPanel->getExtPublishList()) {
                include_once(PATH_tslib.'publish.php');
        }
index 86cc83e..b199fa3 100644 (file)
@@ -58,7 +58,7 @@ if (!is_object($TSFE))        {die('You cannot execute this file directly. It\'s meant
        // Storing the TSFE object
 $temp_publish_TSFE = $TSFE;
 $TT->push('Publishing','');
        // Storing the TSFE object
 $temp_publish_TSFE = $TSFE;
 $TT->push('Publishing','');
-$temp_publish_pages = explode(',', $BE_USER->frontendEdit->getExtPublishList());
+$temp_publish_pages = explode(',', $BE_USER->adminPanel->getExtPublishList());
 $temp_publish_imagesTotal = array();
 $temp_publish_array = array(); // Collects the rendered pages.
 
 $temp_publish_imagesTotal = array();
 $temp_publish_array = array(); // Collects the rendered pages.