2
0
forked from Wavyzz/dolibarr

Clean code with rector 2

This commit is contained in:
Laurent Destailleur
2024-01-05 04:18:53 +01:00
parent c3fb26086f
commit 4501872f17
305 changed files with 731 additions and 740 deletions

View File

@@ -58,10 +58,10 @@ $pageprev = $page - 1;
$pagenext = $page + 1;
if (getDolGlobalString('MAIN_DOC_SORT_FIELD')) {
$sortfield = $conf->global->MAIN_DOC_SORT_FIELD;
$sortfield = getDolGlobalString('MAIN_DOC_SORT_FIELD');
}
if (getDolGlobalString('MAIN_DOC_SORT_ORDER')) {
$sortorder = $conf->global->MAIN_DOC_SORT_ORDER;
$sortorder = getDolGlobalString('MAIN_DOC_SORT_ORDER');
}
if (!$sortorder) {