summaryrefslogtreecommitdiff
path: root/FS/FS/Record.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-04-17 19:47:17 +0000
committerivan <ivan>2002-04-17 19:47:17 +0000
commitf03d05cfbcc04564f8ce40e798c3d1a49dba71d8 (patch)
tree51ed821affdde6f0b849f33f559a0244697a630f /FS/FS/Record.pm
parent11134a9f846c6101d373809f8a56c2b3986f7582 (diff)
allow = in ut_text
Diffstat (limited to 'FS/FS/Record.pm')
-rw-r--r--FS/FS/Record.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index 20da07e..ed87b0c 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -817,7 +817,7 @@ sub ut_money {
=item ut_text COLUMN
Check/untaint text. Alphanumerics, spaces, and the following punctuation
-symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? /
+symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? / =
May not be null. If there is an error, returns the error, otherwise returns
false.
@@ -828,7 +828,7 @@ sub ut_text {
#warn "msgcat ". \&msgcat. "\n";
#warn "notexist ". \&notexist. "\n";
#warn "AUTOLOAD ". \&AUTOLOAD. "\n";
- $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/]+)$/
+ $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]+)$/
or return gettext('illegal_or_empty_text'). " $field: ".
$self->getfield($field);
$self->setfield($field,$1);
@@ -845,7 +845,7 @@ May be null. If there is an error, returns the error, otherwise returns false.
sub ut_textn {
my($self,$field)=@_;
- $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/]*)$/
+ $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
or return gettext('illegal_text'). " $field: ". $self->getfield($field);
$self->setfield($field,$1);
'';