Skip to content

Commit

Permalink
Evarisk#4083 [Dashboard] add: dol_stroupper
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-kilyan authored Nov 14, 2024
1 parent dfbebf8 commit 6c95b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/digiriskelement.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function create(User $user, bool $notrigger = false): int
{
global $conf;
if (empty($this->ref)) {
$type = 'DIGIRISKDOLIBARR_' . strtoupper($this->element_type) . '_ADDON';
$type = 'DIGIRISKDOLIBARR_' . dol_stroupper($this->element_type) . '_ADDON';
$objectMod = $conf->global->$type;
$numberingModules = [
'digiriskelement/' . $this->element_type => $objectMod
Expand Down

0 comments on commit 6c95b08

Please sign in to comment.