This commit is contained in:
Regis Houssin 2006-05-19 15:18:17 +00:00
parent cb1710d831
commit 5c2bd02519

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)