Development

Changeset 11368

You must first sign up to be able to contribute.

Changeset 11368

Show
Ignore:
Timestamp:
09/08/08 07:41:10 (3 months ago)
Author:
dwhittle
Message:

sfPropelPlugin: merged fix for embedded i18n forms

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelPlugin/branches/1.3/lib/propel/form/sfFormPropel.class.php

    r11150 r11368  
    8686   * 
    8787   * @param array   $cultures   An array of cultures 
    88    * @param string  $nameFormat The format to use for widget name 
    8988   * @param string  $decorator  A HTML decorator for the embedded form 
    9089   */ 
    91   public function embedI18n($cultures, $nameFormat = null, $decorator = null) 
     90  public function embedI18n($cultures, $decorator = null) 
    9291  { 
    9392    if (!$this->isI18n()) 
     
    102101    foreach ($cultures as $culture) 
    103102    { 
    104       $this->embedForm($culture, $i18n, $nameFormat, $decorator); 
     103      $this->embedForm($culture, $i18n, $decorator); 
    105104    } 
    106105  }