From f9444ae1cd4a5e5ac8a245481d6327a4eadfb627 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 10 Apr 2011 15:12:43 +0000 Subject: [PATCH] added "decimal" to nummeric types, to fix PostgreSQL error (bug #2105) --- etemplate/inc/class.so_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.so_sql.inc.php b/etemplate/inc/class.so_sql.inc.php index 8ac2f5b160..29e610ad60 100644 --- a/etemplate/inc/class.so_sql.inc.php +++ b/etemplate/inc/class.so_sql.inc.php @@ -1070,7 +1070,7 @@ class so_sql * Special handling for numeric columns. They are only considered if the pattern is numeric. * If the pattern is numeric, an equality search is used instead. */ - $numeric_types = array('auto', 'int', 'float', 'double'); + $numeric_types = array('auto', 'int', 'float', 'double', 'decimal'); $numeric_columns = array(); if(!$search_cols)