2010-09-12 Steffen Kamper <steffen@typo3.org>
+ * Fixed bug #15663: SpriteGenerator adds empty folder to spritebase, which results in wrong css (Thanks to Steffen Ritter)
* Fixed bug #15390: sys_action taskcenter create/edit be-user actions do not work (Thanks to Georg Ringer)
2010-09-09 Dmitry Dulepov <dmitry@typo3.org>
foreach ($subFolders as $folder) {\r
if ($folder !== '.svn') {\r
$icons = t3lib_div::getFilesInDir(PATH_site . $directoryPath . $folder . '/', 'gif,png,jpg');\r
- if (!in_array($folder, $this->spriteBases) && count($icons)) {\r
+ if (!in_array($folder, $this->spriteBases) && count($icons) && $folder !== '') {\r
$this->spriteBases[] = $folder;\r
}\r
foreach ($icons AS $icon) {\r