[freeside-commits] freeside/FS/FS Record.pm,1.122,1.123
Ivan,,,
ivan at wavetail.420.am
Tue Sep 12 19:14:31 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv22893
Modified Files:
Record.pm
Log Message:
encryption-on-insert bugfix from untd
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- Record.pm 26 Aug 2006 02:14:14 -0000 1.122
+++ Record.pm 13 Sep 2006 02:14:29 -0000 1.123
@@ -712,7 +712,7 @@
# Encrypt before the database
my $conf = new FS::Conf;
- if ($conf->exists('encryption') && defined(eval '@FS::'. $table . 'encrypted_fields')) {
+ if ($conf->exists('encryption') && defined(eval '@FS::'. $table . '::encrypted_fields')) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
$self->{'saved'} = $self->getfield($field);
$self->setfield($field, $self->enrypt($self->getfield($field)));
More information about the freeside-commits
mailing list