WordPress.org

Plugin Directory

Changeset 479943


Ignore:
Timestamp:
12/23/11 18:32:00 (2 years ago)
Author:
ydubois
Message:

get rid of small warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yd-featured-block-widget/trunk/inc/yd-widget-framework.inc.php

    r304601 r479943  
    114114            $op->sidebar(); 
    115115            $op->form_header(); 
    116             foreach( $this->form_blocks as $block_name => $block_fields ) { 
     116            foreach( (array)$this->form_blocks as $block_name => $block_fields ) { 
    117117                $op->form_block( $block_name, $block_fields ); 
    118118            } 
    119             foreach( $this->form_add_actions as $action_name => $action ) { 
     119            foreach( (array)$this->form_add_actions as $action_name => $action ) { 
    120120                $op->form_action_button( $action_name, $action ); 
    121121            } 
     
    536536                $this->update_msg = '<p>' . __('Plugin settings are updated', 'yd-options-page') . '</p>'; 
    537537            } 
    538             foreach( $this->form_add_actions as $name => $action ) { 
     538            foreach( (array)$this->form_add_actions as $name => $action ) { 
    539539                if(     $p["do"] == $name ) call_user_func( $action, &$this ); 
    540540            } 
Note: See TracChangeset for help on using the changeset viewer.