From cb1710d8319fd333102a9ad224207c2adf72830d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 19 May 2006 15:15:54 +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 8375f7ff1ae..6492ecfd233 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)