Merge pull request #10967 from atm-ph/fix_7.0_timesheet_init_hook

Fix no init hook on timesheet
This commit is contained in:
Laurent Destailleur 2019-04-08 13:49:21 +02:00 committed by GitHub
commit 125796b0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,8 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
$langs->loadLangs(array('projects','users','companies'));
$hookmanager->initHooks(array('timesheetperdaycard'));
$action=GETPOST('action','aZ09');
$mode=GETPOST("mode",'alpha');
$id=GETPOST('id','int');

View File

@ -36,6 +36,8 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
$langs->loadLangs(array('projects','users','companies'));
$hookmanager->initHooks(array('timesheetperweekcard'));
$action=GETPOST('action','aZ09');
$mode=GETPOST("mode",'alpha');
$id=GETPOST('id','int');