Skip to content

Commit

Permalink
E_DEPRECATED fix for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Jun 20, 2023
1 parent 50eeb58 commit f740fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sluz.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private function include_callback(array $m) {
}

// Include TPL path is *relative* to the main TPL
$tpl_path = dirname($this->tpl_file);
$tpl_path = dirname($this->tpl_file ?? "");
if (!$tpl_path) {
$tpl_path = "tpls/";
}
Expand Down

0 comments on commit f740fbd

Please sign in to comment.