diff --git a/htdocs/core/tpl/massactions_pre.tpl.php b/htdocs/core/tpl/massactions_pre.tpl.php index 5fb8978bdcc..cf7933b1792 100644 --- a/htdocs/core/tpl/massactions_pre.tpl.php +++ b/htdocs/core/tpl/massactions_pre.tpl.php @@ -30,10 +30,10 @@ // $object = Object fetched; // $sendto // $withmaindocfilemail -if(!empty($sall) || !empty($search_all)) { - $sall = empty($sall) ? $search_all : $sall; +if (!empty($sall) || !empty($search_all)) { + $search_all = empty($sall) ? $search_all : $sall; - print ''; + print ''; } if ($massaction == 'predeletedraft') {