Changeset 2100 for branches/release-36/php/lib/block.mtsubcategories.php
- Timestamp:
- 04/25/08 06:27:01 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-36/php/lib/block.mtsubcategories.php
r1231 r2100 22 22 # 23 23 # sort_method takes precedence 24 $sort_order = $args['sort_order'] or'ascend';24 $sort_order = isset($args['sort_order']) ? $args['sort_order'] : 'ascend'; 25 25 $sort_method = $args['sort_method']; 26 26 … … 34 34 require_once("MTUtil.php"); 35 35 $current_cat = cat_path_to_category($args['category'], $blog_id); 36 if ( is_array( $current_cat ) ) 37 $current_cat = $current_cat[0]; 36 38 } 37 39 if ($current_cat == NULL) {
