Skip to content

Commit

Permalink
Fix var not initilaised from cron
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 25, 2024
1 parent 4853654 commit c500919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/substitutions/functions_sellyoursaas.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function sellyoursaas_completesubstitutionarray(&$substitutionarray, $langs, $ob

dol_syslog("savconf isset = ".isset($savconf));

if (! isset($savconf)) {
if (!isset($savconf) || !isset($savconf->global)) {
$savconf = dol_clone($conf, 0);
}

Expand Down

0 comments on commit c500919

Please sign in to comment.