diff --git a/views/helpers/asset.php b/views/helpers/asset.php index 539f185..b35813b 100644 --- a/views/helpers/asset.php +++ b/views/helpers/asset.php @@ -97,7 +97,7 @@ function scripts_for_layout($types=array('js', 'css', 'codeblock')) { $scripts_for_layout[] = $resource; } } else if($type == 'codeblock') { - if(!stristr($resource, '.js') && !stristr($resource,' .css')) { + if(!stristr($resource, '.js') && !stristr($resource, '.css')) { $scripts_for_layout[] = $resource; } }