Fixed bug #11005: Browse Links Popup shows no files when all file types are allowed
authorJeff Segars <jsegars@alumni.rice.edu>
Thu, 29 Apr 2010 19:15:29 +0000 (19:15 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Thu, 29 Apr 2010 19:15:29 +0000 (19:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7451 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.browse_links.php

index e700ad3..5ce08bb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-29  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Fixed bug #11005: Browse Links Popup shows no files when all file types are allowed
+
 2010-04-29  Susanne Moog  <typo3@susanne-moog.de>
 
        * Fixed bug #14151: Shortcuts broken, if in user or admin tools modules (thanks to Stefan Galinski)
index b283491..de9e160 100644 (file)
@@ -2073,6 +2073,7 @@ class browse_links {
        function TBE_expandFolder($expandFolder=0,$extensionList='',$noThumbs=0)        {
                global $LANG;
 
+               $extensionList = ($extensionList == '*') ? '' : $extensionList;
                $expandFolder = $expandFolder ? $expandFolder : $this->expandFolder;
                $out='';
                if ($expandFolder && $this->checkFolder($expandFolder)) {
@@ -2341,6 +2342,7 @@ class browse_links {
        function TBE_dragNDrop($expandFolder=0,$extensionList='')       {
                global $BACK_PATH;
 
+               $extensionList = ($extensionList == '*') ? '' : $extensionList;
                $expandFolder = $expandFolder ? $expandFolder : $this->expandFolder;
                $out='';
                if ($expandFolder && $this->checkFolder($expandFolder)) {