Render the layout filename prop

This commit is contained in:
alextselegidis 2021-11-16 10:15:05 +01:00
parent 62b0651ce8
commit f0109226ce

View file

@ -57,7 +57,7 @@ class EA_Loader extends CI_Loader {
if ($layout)
{
$result = $this->_ci_load(['_ci_view' => $layout, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return]);
$result = $this->_ci_load(['_ci_view' => $layout['filename'], '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return]);
}
return $result;