Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/05/2009 09:58:24 PM (17 years ago)
Author:
apeatling
Message:

Making sure there is always a valid max fallback on widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-widgets.php

    r1488 r1520  
    2828       
    2929    <?php
    30     if ( empty( $options['max_items'] ) ) {
     30    if ( !$options['max_items'] || empty( $options['max_items'] ) )
    3131        $options['max_items'] = 20;
    32     }
    3332    ?>
    3433   
Note: See TracChangeset for help on using the changeset viewer.