forked from Wavyzz/dolibarr
Fix: Postgresql compatibility
New: Can filter on payment type and bank account in payment lists.
This commit is contained in:
@@ -208,6 +208,9 @@ class DoliDb
|
||||
$line=preg_replace('/unique index\s*\((\w+\s*,\s*\w+)\)/i','UNIQUE\(\\1\)',$line);
|
||||
}
|
||||
|
||||
// To have postgresql case sensitive
|
||||
$line=str_replace(' LIKE \'',' ILIKE \'',$line);
|
||||
|
||||
# We remove end of requests "AFTER fieldxxx"
|
||||
$line=preg_replace('/AFTER [a-z0-9_]+/i','',$line);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user