- Timestamp:
- Jun 19, 2009, 10:40:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/check_blocks_class.php
r151 r300 217 217 $option_arr_1 = explode( '|', $info['options'] ); 218 218 $option_arr_2 = explode( '|', $block_obj->getVar('options', 'n') ); 219 220 if ( count($option_arr_1) != count($option_arr_2) ) 221 { 222 $this->_err( $name.': options count unmatch' ); 219 220 $excludes_block = array('widget_block.php','popular_posts_block.php','recent_comments_block.php','recent_posts_content_block.php','recent_posts_list_block.php'); 221 222 if (in_array($info['file'],$excludes_block)){ 223 if ( count($option_arr_1) > count($option_arr_2) ) 224 { 225 $this->_err( $name.': options count unmatch' ); 226 } 227 228 } else { 229 if ( count($option_arr_1) != count($option_arr_2) ) 230 { 231 $this->_err( $name.': options count unmatch' ); 232 } 223 233 } 224 234 }
Note: See TracChangeset
for help on using the changeset viewer.