[freeside-commits] freeside/FS/FS part_event_condition.pm,1.2,1.3
Ivan,,,
ivan at wavetail.420.am
Thu Oct 4 17:40:00 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv25682
Modified Files:
part_event_condition.pm
Log Message:
add disable ability to conditions & disable cust_bill_has_service, so the condition edit page renders again
Index: part_event_condition.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event_condition.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- part_event_condition.pm 4 Oct 2007 21:38:52 -0000 1.2
+++ part_event_condition.pm 5 Oct 2007 00:39:58 -0000 1.3
@@ -191,6 +191,10 @@
#warn "error using $fullmod (skipping): $@\n" if $@;
#next;
}
+ if ( $fullmod->disabled ) {
+ warn "$fullmod is disabled; skipping\n";
+ next;
+ }
#my $full_condition_sql = $fullmod. '::condition_sql';
my $condition_sql_coderef = sub { $fullmod->condition_sql(@_) };
my $order_sql_coderef = $fullmod->can('order_sql')
More information about the freeside-commits
mailing list