fix hookname as uniq by card
This commit is contained in:
parent
1581e73906
commit
1b4dcefcb0
@ -64,7 +64,7 @@ $socid=0;
|
||||
$result = restrictedArea($user, 'projet', $id, 'projet&project');
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('projecttaskcard','globalcard'));
|
||||
$hookmanager->initHooks(array('projecttaskscard','globalcard'));
|
||||
|
||||
$progress=GETPOST('progress', 'int');
|
||||
$label=GETPOST('label', 'alpha');
|
||||
|
||||
@ -53,7 +53,7 @@ $socid=0;
|
||||
if (! $user->rights->projet->lire) accessforbidden();
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('projecttaskcard','globalcard'));
|
||||
$hookmanager->initHooks(array('projecttaskcommentcard','globalcard'));
|
||||
|
||||
$object = new Task($db);
|
||||
$extrafields = new ExtraFields($db);
|
||||
|
||||
@ -74,7 +74,7 @@ if (! $sortorder) $sortorder='DESC';
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
//$object = new TaskTime($db);
|
||||
$hookmanager->initHooks(array('projecttaskcard','globalcard'));
|
||||
$hookmanager->initHooks(array('projecttasktime','globalcard'));
|
||||
|
||||
$object = new Task($db);
|
||||
$projectstatic = new Project($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user