fixing bug in view class.

This commit is contained in:
Taylor Otwell
2012-04-01 21:13:07 -05:00
parent cfce823095
commit d41b1db722

View File

@@ -320,7 +320,7 @@ class View implements ArrayAccess {
// The contents of each view file is cached in an array for the // The contents of each view file is cached in an array for the
// request since partial views may be rendered inside of for // request since partial views may be rendered inside of for
// loops which could incur performance penalties. // loops which could incur performance penalties.
$__content = $this->load(); $__contents = $this->load();
ob_start() and extract($__data, EXTR_SKIP); ob_start() and extract($__data, EXTR_SKIP);