public function preSave(PropelPDO $con = null) { if ((string) $this->getPriority() === '') { $this->setPriority($this->getAutoPriority($con)); } return parent::preSave($con); }
public function preSave($event) { $this->github_url = trim($this->github_url, '/'); return parent::preSave($event); }