Closed dmetzner closed 3 weeks ago
This PR initializes the $path variable to prevent an "undefined variable" warning when $source->exists is true.
$path
$source->exists
true
$path = null;
Fixes the warning Undefined variable $path in vendor/smarty/src/Resource/FilePlugin.php on line 62.
Undefined variable $path in vendor/smarty/src/Resource/FilePlugin.php on line 62
Summary
This PR initializes the
$path
variable to prevent an "undefined variable" warning when$source->exists
istrue
.Changes
$path = null;
to ensure$path
is always defined.Impact
Fixes the warning
Undefined variable $path in vendor/smarty/src/Resource/FilePlugin.php on line 62
.