Beispiel #1
0
 protected function _beforeSave()
 {
     parent::_beforeSave();
     if ($this->getData('default_attribute_id') == '') {
         $this->setData('default_attribute_id', null);
     }
 }