Gestion du module de recherche
This commit is contained in:
parent
a29e4721ff
commit
50bc28e75b
@ -42,18 +42,15 @@ if ($action == 'update')
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if ($page < 0) {
|
||||||
if ($page == -1) {
|
$page = 0 ; }
|
||||||
$page = 0 ;
|
|
||||||
}
|
|
||||||
|
|
||||||
$limit = $conf->liste_limit;
|
$limit = $conf->liste_limit;
|
||||||
$offset = $limit * $page ;
|
$offset = $limit * $page ;
|
||||||
|
|
||||||
if ($sortfield == "")
|
if ($sortfield == "") {
|
||||||
{
|
$sortfield="p.tms"; }
|
||||||
$sortfield="p.tms";
|
|
||||||
}
|
|
||||||
if ($sortorder == "")
|
if ($sortorder == "")
|
||||||
{
|
{
|
||||||
$sortorder="DESC";
|
$sortorder="DESC";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user