This commit is contained in:
Regis Houssin 2006-05-19 15:15:54 +00:00
parent df4b615042
commit cb1710d831

View File

@ -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)