Skip to content

Commit

Permalink
fix sub/unsub button
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Jun 7, 2009
1 parent 906c93a commit ada7c26
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/omb/views/posts/_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ <h3><?php echo $Member->nickname; ?><?php echo $txt['profile_usr_subscriptions']
</a>

<br />

<?php else : ?>


<?php $Subscription->find_by('subscribed',$Member->id); ?>
<?php while ($subscriber = $Subscription->MoveNext()) : ?>
<?php if ($subscriber->subscribed == $Member->id) : ?>
<?php $subscribers[] = $subscriber->subscriber; ?>
<?php endif; ?>
<?php endwhile; ?>



<?php endif; ?>
<?php $pro = get_profile(); ?>

Expand Down

0 comments on commit ada7c26

Please sign in to comment.