Skip to content

Commit

Permalink
Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
herewithme committed Nov 8, 2014
1 parent 489cb23 commit 467eea3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inc/class.client.tagcloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ public static function extendedTagCloud( $args = '', $copyright = true ) {
}

// Translate selection order
$args['orderby'] = self::compatOldOrder( $args['cloud_order'], 'orderby' );
$args['order'] = self::compatOldOrder( $args['cloud_order'], 'order' );
if ( isset($args['cloud_order']) ) {
$args['orderby'] = self::compatOldOrder($args['cloud_order'], 'orderby');
$args['order'] = self::compatOldOrder($args['cloud_order'], 'order');
}

// Get correct taxonomy ?
$taxonomy = self::_get_current_taxonomy($args['taxonomy']);
Expand Down

0 comments on commit 467eea3

Please sign in to comment.