Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #487 from jasonlewis/patch-8

Includes use render to prevent WSOD
  • Loading branch information...
commit e29270f6a7ea80bb71e72fc2e7d4feeadf6aaa07 2 parents 9f1bd0c + 3d23303
@taylorotwell taylorotwell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  laravel/blade.php
View
2  laravel/blade.php
@@ -264,7 +264,7 @@ protected static function compile_includes($value)
{
$pattern = static::matcher('include');
- return preg_replace($pattern, '$1<?php echo view$2->with(get_defined_vars()); ?>', $value);
+ return preg_replace($pattern, '$1<?php echo view$2->with(get_defined_vars())->render(); ?>', $value);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.