From 264340baeccec0ccb256fb4bf7f524cf774c04eb Mon Sep 17 00:00:00 2001 From: rdobovic Date: Wed, 24 Jan 2024 22:26:45 +0100 Subject: [PATCH] Fixed simple typo in template_types smarty plugin --- smarty_plugins/function.template_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smarty_plugins/function.template_types.php b/smarty_plugins/function.template_types.php index e12abce..ab04871 100644 --- a/smarty_plugins/function.template_types.php +++ b/smarty_plugins/function.template_types.php @@ -28,7 +28,7 @@ function smarty_function_template_types($params, &$smarty) $lines[] = ""; - foreach ($template_types as $group_name => $group_section) { + foreach ($template_types as $group_name => $group_sections) { $lines[] = ""; foreach ($group_sections as $key => $value) {