Fix wrong var name $helpers to correctly load helper files in GeneratorCommand.php.

This commit is contained in:
Tortue Torche
2013-07-26 13:07:30 +02:00
parent e9cbd7e732
commit 1a593833a2
@@ -178,8 +178,8 @@ exit('Only to be used as an helper for your IDE');\n\n";
}
//Include the helper file, if requested
if(!empty($helpers)){
foreach($helpers as $helper){
if(!empty($this->helpers)){
foreach($this->helpers as $helper){
if (file_exists($helper)){
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
}