[freeside-commits] freeside/FS/FS part_referral.pm,1.7,1.8
Ivan,,,
ivan at wavetail.420.am
Tue Feb 24 02:06:20 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv30419/FS/FS
Modified Files:
part_referral.pm
Log Message:
bootstrapping issues
Index: part_referral.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_referral.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- part_referral.pm 11 Aug 2006 08:02:26 -0000 1.7
+++ part_referral.pm 24 Feb 2009 10:06:18 -0000 1.8
@@ -1,11 +1,12 @@
package FS::part_referral;
use strict;
-use vars qw( @ISA );
+use vars qw( @ISA $setup_hack );
use FS::Record qw( qsearch qsearchs dbh );
use FS::agent;
@ISA = qw( FS::Record );
+$setup_hack = 0;
=head1 NAME
@@ -100,7 +101,10 @@
|| $self->ut_text('referral')
|| $self->ut_enum('disabled', [ '', 'Y' ] )
#|| $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum')
- || $self->ut_agentnum_acl('agentnum', 'Edit global advertising sources')
+ || ( $setup_hack
+ ? $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum' )
+ : $self->ut_agentnum_acl('agentnum', 'Edit global advertising sources')
+ )
;
return $error if $error;
More information about the freeside-commits
mailing list