Another better fix.
This commit is contained in:
parent
1725561c34
commit
4413613d14
@ -30,7 +30,7 @@ define('DONOTLOADCONF',1); // To avoid loading conf by file inc.php
|
||||
include 'inc.php';
|
||||
|
||||
$action=GETPOST('action','alpha');
|
||||
$setuplang=(GETPOST('selectlang')?GETPOST('selectlang'):'auto');
|
||||
$setuplang=(GETPOST('selectlang','',3)?GETPOST('selectlang','',3):'auto');
|
||||
$langs->setDefaultLang($setuplang);
|
||||
|
||||
$langs->load("admin");
|
||||
@ -409,7 +409,7 @@ if (! $error && $db->connected && $action == "set")
|
||||
}
|
||||
|
||||
// Table prefix
|
||||
$main_db_prefix = ((! empty($db_prefix) && $db_prefix != '') ? $db_prefix : 'llx_');
|
||||
$main_db_prefix = (! empty($db_prefix) ? $db_prefix : 'llx_');
|
||||
|
||||
// Force https
|
||||
$main_force_https = ((GETPOST("main_force_https") && (GETPOST("main_force_https") == "on" || GETPOST("main_force_https") == 1)) ? '1' : '0');
|
||||
|
||||
@ -82,7 +82,7 @@ if ($resql)
|
||||
$num = $db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
$param="search_group=".urlencode($search_group)."&sall=".urlencode($sall);
|
||||
$param="&search_group=".urlencode($search_group)."&sall=".urlencode($sall);
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print_liste_field_titre($langs->trans("Group"),$_SERVER["PHP_SELF"],"g.nom",$param,"","",$sortfield,$sortorder);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user