| @@ -71,9 +71,9 @@ | ||
| 71 | 71 | |
| 72 | 72 | <!-- <input class="widefat" id="<?php echo $this->get_field_id('message'); ?>" name="<?php echo $this->get_field_name('message'); ?>" type="text" value="<?php echo $message; ?>" />--> |
| 73 | 73 | <select name="<?php echo $this->get_field_name('message'); ?>"> |
| 74 | 74 | <?php |
| 75 | - if( count($entries)>0 ) { | |
| 75 | + if(!empty($entries)){ //if( count($entries)>0 ) | |
| 76 | 76 | $count=1; |
| 77 | 77 | $class = ''; |
| 78 | 78 | foreach( $entries as $entry ) { |
| 79 | 79 | ?> |