From 48016d4581a0045f7425cfc1f8a02ceeae7b5f82 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Wed, 27 Mar 2024 22:14:49 +0100 Subject: [PATCH] revert change to variable name --- src/Smarty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Smarty.php b/src/Smarty.php index c8e7f548..0f6ee0ce 100644 --- a/src/Smarty.php +++ b/src/Smarty.php @@ -1339,7 +1339,7 @@ class Smarty extends \Smarty\TemplateBase { } $_filepath = (string)$_file; if ($_file->isDir()) { - if (!$_file->isDot()) { + if (!$_compile->isDot()) { // delete folder if empty @rmdir($_file->getPathname()); }