fixed issue #0000035: On retrouve dans tous les cas la dernière recherche type entreprise

This commit is contained in:
Michael RICOIS 2009-08-12 10:26:50 +00:00
parent 8d4ae5268c
commit 8ec6a655bd

View File

@ -62,7 +62,7 @@ switch ($page) {
require_once './pages/main.php';
break;
case 'recherche':
if ($_REQUEST['vue']=='list') $_SESSION['list_pre']=gzcompress(serialize($_POST['formR']),9);
if ($_REQUEST['vue']=='list' && $_POST['formR']['type']=='ent') $_SESSION['list_pre']=gzcompress(serialize($_POST['formR']),9);
$title='Recherche';
$page2='recherche.php';
include('./pages/main.php');