canton7/fuelphp-casset — Issue #17: combine() does not include all group files
Author: gnodeb
Created: 2012-02-17 15:07:13+00:00
State: open

If group contains file with defined minified version, that file will replace group content instead of appending it.

protected static function combine($type, $file_group, $minify, $inline)
{
...
if (static::$show_files_inline)
$content .= PHP_EOL.'/* '.$file['file'].' */'.PHP_EOL.PHP_EOL;
if ($file['minified'] || !$minify)
$content = static::load_file($file['file'], $type, $file_group).PHP_EOL;
...
}

last line should be:
$content .= static::load_file($file['file'], $type, $file_group).PHP_EOL;