mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-24 23:52:22 +03:00
Render the layout filename prop
This commit is contained in:
parent
62b0651ce8
commit
f0109226ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue