Skip to content

Commit b721888

Browse files
committed
Merge branch 'pmjones-func-get-arg'
Closes #36
2 parents 122ed12 + 6bb3025 commit b721888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PhpRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ public function fetch($template, array $data = []) {
185185
*/
186186
protected function protectedIncludeScope ($template, array $data) {
187187
extract($data);
188-
include $template;
188+
include func_get_arg(0);
189189
}
190190
}

0 commit comments

Comments
 (0)