diff --git a/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php b/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php index d77b6ce..82f833c 100644 --- a/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php +++ b/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php @@ -184,7 +184,7 @@ public function getAssetFileFromFilePath(\AssetsBundle\AssetFile\AssetFile $oAss elseif (strpos($sAssetRealPath, '*') !== false) { $oGlobIterator = new \GlobIterator($sAssetRealPath); foreach ($oGlobIterator as $oItem) { - $this->getAssetFileFromFilePath($oAssetFile, $oItem->key()); + $this->getAssetFileFromFilePath($oAssetFile, $oItem->getRealPath()); } return $this; }