Follow-up to #13739: Make the clickmenu work for the case when "Substitute Mount...
authorErnesto Baschny <ernst@cron-it.de>
Thu, 25 Mar 2010 15:44:56 +0000 (15:44 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 25 Mar 2010 15:44:56 +0000 (15:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7167 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php

index c8bcb6c..455bddf 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-03-25  Ernesto Baschny  <ernst@cron-it.de>
 
        * Fixed bug #13901: GIFBULDER generates same picture twice (in typo3temp/GB) (thanks to Vladimir Podkovanov)
+       * Follow-up to #13739: Make the clickmenu work for the case when "Substitute Mount Point" is not set
 
 2010-03-25  Christian Kuhn  <lolli@schwarzbu.ch>
 
index 760cebb..d8390be 100644 (file)
@@ -2651,7 +2651,7 @@ final class t3lib_BEfunc {
                $sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
                $sys_page->init(FALSE);
                $mountPointInfo = $sys_page->getMountPointInfo($id);
-               if ($mountPointInfo) {
+               if ($mountPointInfo && $mountPointInfo['overlay']) {
                        $id = $mountPointInfo['mount_pid'];
                        $addGetVars .= '&MP=' . $mountPointInfo['MPvar'];
                }