[freeside-commits] freeside/FS/FS Record.pm, 1.213, 1.214 cust_main.pm, 1.567, 1.568
Ivan,,,
ivan at wavetail.420.am
Fri Nov 5 11:32:59 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv3832/FS/FS
Modified Files:
Record.pm cust_main.pm
Log Message:
fix more german character problems, RT#10498
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.567
retrieving revision 1.568
diff -u -w -d -r1.567 -r1.568
--- cust_main.pm 31 Oct 2010 23:39:17 -0000 1.567
+++ cust_main.pm 5 Nov 2010 18:32:56 -0000 1.568
@@ -1970,7 +1970,7 @@
) {
$self->payname( $self->first. " ". $self->getfield('last') );
} else {
- $self->payname =~ /^([\w \,\.\-\'\&]+)$/
+ $self->payname =~ /^([µ_0123456789aAáÁàÀâÂåÅäÄãêæÆbBcCçÇdDðÐeEéÉèÈêÊëËfFgGhHiIíÍìÌîÎïÏjJkKlLmMnNñÑoOóÓòÒôÔöÖõÕøغpPqQrRsSßtTuUúÚùÙûÛüÜvVwWxXyYýÝÿzZþÞ \,\.\-\'\&]+)$/
or return gettext('illegal_name'). " payname: ". $self->payname;
$self->payname($1);
}
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -w -d -r1.213 -r1.214
--- Record.pm 2 Nov 2010 00:28:13 -0000 1.213
+++ Record.pm 5 Nov 2010 18:32:56 -0000 1.214
@@ -2171,7 +2171,7 @@
#warn "notexist ". \¬exist. "\n";
#warn "AUTOLOAD ". \&AUTOLOAD. "\n";
$self->getfield($field)
- =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>]+)$/
+ =~ /^([µ_0123456789aAáÁàÀâÂåÅäÄãêæÆbBcCçÇdDðÐeEéÉèÈêÊëËfFgGhHiIíÍìÌîÎïÏjJkKlLmMnNñÑoOóÓòÒôÔöÖõÕøغpPqQrRsSßtTuUúÚùÙûÛüÜvVwWxXyYýÝÿzZþÞ \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>]+)$/
or return gettext('illegal_or_empty_text'). " $field: ".
$self->getfield($field);
$self->setfield($field,$1);
More information about the freeside-commits
mailing list