mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
Todo: problem if value contain the word "double"
This commit is contained in:
@@ -196,6 +196,7 @@ class DoliDb
|
||||
$line=preg_replace('/datetime/i','timestamp',$line);
|
||||
|
||||
# double -> numeric
|
||||
// TODO problem if value contain "double" word
|
||||
$line=preg_replace('/^double/i','numeric',$line);
|
||||
$line=preg_replace('/(\s*)double/i','\\1numeric',$line);
|
||||
# float -> numeric
|
||||
|
||||
Reference in New Issue
Block a user