Fixed a bug in interventions' list navigation

The navigation arrows were referencing "index.php" file thus
preventing navigation between pages.
The actual name of the file is "list.php".
This commit is contained in:
Raphaël Doursenaud 2012-06-01 10:52:39 +02:00 committed by Regis Houssin
parent 84cf35d8f2
commit 38740fb70f

View File

@ -96,7 +96,7 @@ if ($result)
$interventionstatic=new Fichinter($db); $interventionstatic=new Fichinter($db);
$urlparam="&socid=$socid"; $urlparam="&socid=$socid";
print_barre_liste($langs->trans("ListOfInterventions"), $page, "index.php",$urlparam,$sortfield,$sortorder,'',$num); print_barre_liste($langs->trans("ListOfInterventions"), $page, "list.php",$urlparam,$sortfield,$sortorder,'',$num);
print '<form method="get" action="'.$_SERVER["PHP_SELF"].'">'."\n"; print '<form method="get" action="'.$_SERVER["PHP_SELF"].'">'."\n";
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';