public function save(PropelPDO $con = null) { $is_new = false; if ($this->isNew()) { $this->setId(self::calculateId()); } $is_new = true; $res = parent::save($con); if ($is_new) { // when retrieving the entry - ignore thr filter - when in partner has moderate_content =1 - the entry will have status=3 and will fail the retrieveByPk syndicationFeedPeer::setUseCriteriaFilter(false); $obj = syndicationFeedPeer::retrieveByPk($this->getId()); $this->setIntId($obj->getIntId()); syndicationFeedPeer::setUseCriteriaFilter(true); } }