Fixed typo

This commit is contained in:
Paolo
2022-07-12 14:10:47 +02:00
parent ae70dbcb64
commit 137af3ef71
+1 -1
View File
@@ -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.'/';
}