To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/26/10 16:26:04 (2 years ago)
Author:
dordille
Message:

Editing a blog slug now works as designed, this fixes #206.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/lib/form/doctrine/PluginaBlogItemForm.class.php

    r1006 r1062  
    1717     
    1818    unset( 
    19       $this['type'], $this['page_id'], $this['created_at'], $this['updated_at'] 
     19      $this['type'], $this['page_id'], $this['created_at'], $this['updated_at'], $this['slug_saved'] 
    2020    ); 
    2121     
     
    5252    $this->widgetSchema['tags']       = new sfWidgetFormInput(array('default' => implode(', ', $this->getObject()->getTags())), array('class' => 'tag-input', 'autocomplete' => 'off')); 
    5353    $this->validatorSchema['tags']    = new sfValidatorString(array('required' => false)); 
    54   } 
    55  
    56   public function updateSlugColumn($value) 
    57   { 
    58     return $value; 
    5954  } 
    6055