bugfix
This commit is contained in:
parent
cb1710d831
commit
5c2bd02519
@ -138,7 +138,7 @@ if ($_GET["action"] == 'create')
|
|||||||
$numpr = "FI".strftime("%y%m%d", time());
|
$numpr = "FI".strftime("%y%m%d", time());
|
||||||
|
|
||||||
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal";
|
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal";
|
||||||
$sql.= " WHERE ref like "'.$numpr.'"%";
|
$sql.= " WHERE ref like ".$numpr."%";
|
||||||
|
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user