From 8d279a535c6497d45d5216eef93931a16dca232f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Jul 2024 18:29:28 +0200 Subject: [PATCH] Fix phan --- htdocs/comm/action/list.php | 6 +++--- htdocs/comm/action/pertype.php | 6 +++--- htdocs/comm/action/peruser.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index 88adbab04d2..073f69b4f46 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -91,7 +91,7 @@ if ($search_status == '' && !GETPOSTISSET('search_status')) { $search_status = ((!getDolGlobalString('AGENDA_DEFAULT_FILTER_STATUS') || $disabledefaultvalues) ? '' : $conf->global->AGENDA_DEFAULT_FILTER_STATUS); } if (empty($mode) && !GETPOSTISSET('mode')) { - $mode = getDolGlobalString('AGENDA_DEFAULT_VIEW', 'list'); + $mode = getDolGlobalString('AGENDA_DEFAULT_VIEW', 'show_list'); } $filter = GETPOST("search_filter", 'alpha', 3) ? GETPOST("search_filter", 'alpha', 3) : GETPOST("filter", 'alpha', 3); @@ -191,7 +191,7 @@ if ($user->socid && $socid) { */ if (GETPOST('cancel', 'alpha')) { - $mode = 'list'; + $mode = 'show_list'; $massaction = ''; } @@ -685,7 +685,7 @@ $viewday = is_object($object) ? dol_print_date($object->datep, '%d') : ''; $viewmode = '