Skip to content

Commit

Permalink
#35 [Mod] fix: wrong call for load langs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Nov 7, 2022
1 parent 36f9e57 commit cba70d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/modules/modDolisirh.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct($db)
global $langs, $conf;
$this->db = $db;

$langs->load("digiriskdolibarr@digiriskdolibarr");
$langs->load("dolisirh@dolisirh");

$this->numero = 436310;
$this->rights_class = 'dolisirh';
Expand Down
2 changes: 1 addition & 1 deletion view/workinghours_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

$title = $langs->trans("User");
if ( ! empty($conf->global->MAIN_HTML_TITLE) && preg_match('/thirdpartynameonly/', $conf->global->MAIN_HTML_TITLE) && $usertmp->name) $title = $usertmp->name . " - " . $langs->trans('WorkingHours');
$help_url = 'EN:Module_Third_Parties|FR:Module_DigiriskDolibarr#L.27onglet_Horaire_de_travail|ES:Empresas';
$help_url = '';

$morecss = array("/dolisirh/css/dolisirh.css");

Expand Down

0 comments on commit cba70d9

Please sign in to comment.