bugfix
This commit is contained in:
parent
5c2bd02519
commit
316dafdc95
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user