Changeset 3155

Show
Ignore:
Timestamp:
05/06/08 15:22:11 (2 months ago)
Author:
pmjones
Message:

Solar_Filter: [FIX[ Initialize properties to arrays, and cast to array as needed, to avoid notices. Thanks, Antti.

fixes #106

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Solar/Filter.php

    r3153 r3155  
    4747     *  
    4848     */ 
    49     protected $_chain_filters
     49    protected $_chain_filters = array()
    5050     
    5151    /** 
     
    5757     *  
    5858     */ 
    59     protected $_chain_invalid
     59    protected $_chain_invalid = array()
    6060     
    6161    /** 
     
    8282     *  
    8383     */ 
    84     protected $_chain_require
     84    protected $_chain_require = array()
    8585     
    8686    /** 
     
    540540         
    541541        // see if we actually have all the required data keys 
    542         foreach ($this->_chain_require as $key => $flag) { 
     542        foreach ((array) $this->_chain_require as $key => $flag) { 
    543543             
    544544            if (! $flag) {