Fixme: problem if value contain the word "double"

This commit is contained in:
Regis Houssin
2010-11-14 17:43:42 +00:00
parent 4e91dbde38
commit 6dc97d6da6

View File

@@ -196,7 +196,7 @@ class DoliDb
$line=preg_replace('/datetime/i','timestamp',$line);
# double -> numeric
// TODO problem if value contain "double" word
// FIXME problem if value contain "double" word
$line=preg_replace('/^double/i','numeric',$line);
$line=preg_replace('/(\s*)double/i','\\1numeric',$line);
# float -> numeric