fix warnings in task list
This commit is contained in:
parent
3765a89283
commit
5ef5075f8f
@ -69,9 +69,10 @@ $search_task_budget_amount = GETPOST('search_task_budget_amount');
|
|||||||
$search_societe = GETPOST('search_societe');
|
$search_societe = GETPOST('search_societe');
|
||||||
$search_opp_status = GETPOST("search_opp_status", 'alpha');
|
$search_opp_status = GETPOST("search_opp_status", 'alpha');
|
||||||
|
|
||||||
$mine = (GETPOSTISSET('mode') && GETPOST('mode', 'alpha') == 'mine') ? 1 : 0;
|
$mine = GETPOST('mode', 'alpha') == 'mine' ? 1 : 0;
|
||||||
if ($mine) {
|
if ($mine) {
|
||||||
$search_task_user = $user->id; $mine = 0;
|
$search_task_user = $user->id;
|
||||||
|
$mine = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$search_date_startday = GETPOST('search_date_startday', 'int');
|
$search_date_startday = GETPOST('search_date_startday', 'int');
|
||||||
@ -882,11 +883,11 @@ $totalarray['totalbudgetamount'] = 0;
|
|||||||
$totalarray['totaltobill'] = 0;
|
$totalarray['totaltobill'] = 0;
|
||||||
$totalarray['totalbilled'] = 0;
|
$totalarray['totalbilled'] = 0;
|
||||||
$parameters = array(
|
$parameters = array(
|
||||||
'arrayfields'=>$arrayfields,
|
'arrayfields' => $arrayfields,
|
||||||
'param'=>$param,
|
'param' => $param,
|
||||||
'sortfield'=>$sortfield,
|
'sortfield' => $sortfield,
|
||||||
'sortorder'=>$sortorder,
|
'sortorder' => $sortorder,
|
||||||
'totalarray' => $totalarray,
|
'totalarray' => &$totalarray,
|
||||||
);
|
);
|
||||||
$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook
|
$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook
|
||||||
print $hookmanager->resPrint;
|
print $hookmanager->resPrint;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user