From 137af3ef71dd929b6c6c04223d44f7d71e1d438d Mon Sep 17 00:00:00 2001 From: Paolo Date: Tue, 12 Jul 2022 14:10:47 +0200 Subject: [PATCH] Fixed typo --- application/helpers/hlp_common_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/helpers/hlp_common_helper.php b/application/helpers/hlp_common_helper.php index 75b26dc6f..ab67d70a1 100644 --- a/application/helpers/hlp_common_helper.php +++ b/application/helpers/hlp_common_helper.php @@ -371,7 +371,7 @@ function findResource($path, $resource, $subdir = false, $extraDir = null) // If entry is a directory but not the current and subdirectories should be loaded if ($subdir === true && $entry != '.' && $entry != '..' && is_dir($path.$entry)) { - if ($extension == null) + if ($extraDir == null) { $tmpPaths[] = $path.$entry.'/'; }