From cc59d614c3ffd488ace30132ea0eb3141a2c4ecb Mon Sep 17 00:00:00 2001 From: Stan Pinte Date: Sun, 6 Mar 2005 14:17:42 +0000 Subject: [PATCH] Fixed bug in page 'Recherche' --- html/recherche.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/html/recherche.php b/html/recherche.php index b9a19a114..5c7460293 100644 --- a/html/recherche.php +++ b/html/recherche.php @@ -33,10 +33,7 @@ include_once ("postgres.php"); include_once ("check_priv.php"); /* Admin. Dossier */ - - -$l_Db=sprintf("dossier%d",$_SESSION['g_dossier']); -$cn=DbConnect($g_dossier); +$cn=DbConnect($_SESSION['g_dossier']); include ('class_user.php'); $User=new cl_user($cn); $User->Check(); @@ -49,15 +46,11 @@ if ( $User->admin == 0 ) { /* Cannot Access */ NoAccess(); } - } - // PhpSessid - //$sessid=(isset ($_POST['PHPSESSID']))?$_POST['PHPSESSID']:$_GET['PHPSESSID']; $sessid=$_REQUEST['PHPSESSID']; - // display a search box $search_box=u_ShowMenuRecherche($cn,0,$sessid,$HTTP_POST_VARS); echo '
';