summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/Record.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index ac8117e70..f7c3a41c8 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -1155,7 +1155,7 @@ sub _quote {
my($dbh)=dbh;
if ( $value =~ /^\d+(\.\d+)?$/ &&
# ! ( datatype($table,$field) =~ /^char/ )
- ! ( $dbdef->table($table)->column($field)->type =~ /(char|binary)$/i )
+ ! $dbdef->table($table)->column($field)->type =~ /(char|binary|text)$/i
) {
$value;
} else {