From acb363fe34272e9d8ab37e41bf70661aee48d8f5 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 29 May 2019 01:07:50 +0300 Subject: [PATCH] Slim Framework integration #118 #117 - Snippets: fixes and refactoring --- flextype/Snippets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Snippets.php b/flextype/Snippets.php index 3b3f70f1..f445f5cc 100644 --- a/flextype/Snippets.php +++ b/flextype/Snippets.php @@ -57,7 +57,7 @@ class Snippets */ public function fetch(string $id) { - $snippet_file = Fieldsets::_file_location($id); + $snippet_file = $this->_file_location($id); if (Filesystem::has($snippet_file)) { if ($snippet_body = Filesystem::read($snippet_file)) {