Don't include journals that aren't visible.
Patch by denise.
diffs (12 lines):
diff -r 8436dde86847 -r 5f3e59144268 htdocs/shop/gifts.bml
--- a/htdocs/shop/gifts.bml Sun Jul 19 10:05:44 2009 +0000
+++ b/htdocs/shop/gifts.bml Mon Jul 20 10:01:48 2009 -0500
@@ -35,7 +35,7 @@ body<=
foreach my $target ( values %$circle ) {
- if ( $target->is_person || $target->is_community ) {
+ if ( ( $target->is_person || $target->is_community ) &&
$target->is_visible ) {
my $paidstatus = DW::Pay::get_paid_status( $target );
# account is free if it has no paidstatus, if it's not permanent,
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog