Is this all that is in that action? Do you redirect back to this
action or another action at the end?
On Aug 8, 12:11 pm, Tchinkatchuk <[EMAIL PROTECTED]> wrote:
> Hi everybody.
>
> I become quite used to symfony and basical stuff but this semms
> strange.
> In an action method, I have this
>
> // Gestion visite
> echo "pwet";
> $oMembreVisite = new MembreVisite();
> $oMembreVisite->setMembreId($this->oMembre->getId());
>
> $oMembreVisite->setVisiteurId($this->getUser()->getAttribute('membre_id','','membre'));
>
> $oMembreVisite->save();
> echo "pwet";
> unset($oMembreVisite);
>
> There is something strange because the insert is done 5 time. I looked
> in base model, in save method, do save method, etc. and find nothing
> strange which could do this.
>
> Does somebody know why I am stupid or is it something very clever I
> can not find ?
>
> Thanks in advance and have a good day.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---