Development

Changeset 19840

You must first sign up to be able to contribute.

Changeset 19840

Show
Ignore:
Timestamp:
07/03/09 12:37:57 (8 months ago)
Author:
karim
Message:

fixed bug when merging html attributes for items

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfUnobstrusiveWidgetPlugin/trunk/lib/widget/sfUoWidgetList.class.php

    r18675 r19840  
    100100      } 
    101101 
    102       $attributes = array_merge($attributes, (is_array($value) && array_key_exists('attributes', $value)) ? $value['attributes'] : array()); 
    103       $result .= $this->renderItem($key, $this->getItemContent($key, $value), $attributes); 
     102      $attr = array_merge($attributes, (is_array($value) && array_key_exists('attributes', $value)) ? $value['attributes'] : array()); 
     103      $result .= $this->renderItem($key, $this->getItemContent($key, $value), $attr); 
    104104    } 
    105105 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.