Skip to content

Commit

Permalink
=?UTF-8?q?correction=20de=20la=20suppression=20de=20la=20date=20pour=…
Browse files Browse the repository at this point in the history
…20les=20event=20projet=20de=20type=20commentaire

=20-->=20code=20plus=20propre,=20n'empeche=20plus=20le=20chargement=20des=20donn=C3=A9es?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: https://svn.iariss.fr/erp@154 55463ab2-4f42-40d6-a48e-481de4af6215
  • Loading branch information
m.mure authored and MichaelMure committed Jun 4, 2011
1 parent 03aaf23 commit 7175ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/doctrine/ProjetEvent.class.php
Expand Up @@ -14,7 +14,7 @@ class ProjetEvent extends BaseProjetEvent
{
public function save(Doctrine_Connection $conn = null)
{
if($this->getTypeId() == 1) // est un commentaire
if($this->getProjetEventType()->getDescription() == 'Commentaire')
{
$this->setDate(NULL);
}
Expand Down

0 comments on commit 7175ed4

Please sign in to comment.