mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 01:12:33 +01:00
Clean code
This commit is contained in:
@@ -789,16 +789,16 @@ if ($mode == 'common' || $mode == 'commonkanban') {
|
||||
if (!empty($objMod->config_page_url) && !$disableSetup) {
|
||||
$backtourlparam = '';
|
||||
if ($search_keyword != '') {
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_keyword='.$search_keyword; // No urlencode here, done later
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_keyword='.urlencode($search_keyword); // No urlencode here, done later
|
||||
}
|
||||
if ($search_nature > -1) {
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_nature='.$search_nature; // No urlencode here, done later
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_nature='.urlencode($search_nature); // No urlencode here, done later
|
||||
}
|
||||
if ($search_version > -1) {
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_version='.$search_version; // No urlencode here, done later
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_version='.urlencode($search_version); // No urlencode here, done later
|
||||
}
|
||||
if ($search_status > -1) {
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_status='.$search_status; // No urlencode here, done later
|
||||
$backtourlparam .= ($backtourlparam ? '&' : '?').'search_status='.urlencode($search_status); // No urlencode here, done later
|
||||
}
|
||||
$backtourl = $_SERVER["PHP_SELF"].$backtourlparam;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user