From 4aad48bd7d2441aa628b0221b613040961ed2d96 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 29 May 2019 00:52:03 +0300 Subject: [PATCH] Slim Framework integration #118 #117 - Snippets: refactoring --- flextype/Snippets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Snippets.php b/flextype/Snippets.php index ec362a7a..3b3f70f1 100644 --- a/flextype/Snippets.php +++ b/flextype/Snippets.php @@ -87,7 +87,7 @@ class Snippets if (count($_snippets) > 0) { foreach ($_snippets as $snippet) { if ($snippet['type'] == 'file' && $snippet['extension'] == 'php') { - $snippet[$snippet['basename']] = $snippet['basename']; + $snippets[$snippet['basename']] = $snippet['basename']; } } }