From 5c2bd0251928b1401859a1b2b575e6e66a0a69dd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 19 May 2006 15:18:17 +0000 Subject: [PATCH] bugfix --- htdocs/fichinter/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 6492ecfd233..a2060c4b89f 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -138,7 +138,7 @@ if ($_GET["action"] == 'create') $numpr = "FI".strftime("%y%m%d", time()); $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal"; - $sql.= " WHERE ref like "'.$numpr.'"%"; + $sql.= " WHERE ref like ".$numpr."%"; $resql=$db->query($sql); if ($resql)