salut ,,
j'ai une erreur qui m'enerve ,,,,quand je veux afficher mon prenom avec dans
le template avec la fonction  getprenom() il m'affiche l'erreur suivante

Fatal error: Call to a member function getprenom() on a non-object in
C:\development\sfprojects\gestion des
competences\apps\frontend\modules\login\templates\CVSuccess.php on line*55*
*
*
voila le code du function executecv()

class loginActions extends sfActions
{
  public function executeCv(sfWebRequest $request)
  {

     $this->utilisateur =
Doctrine::getTable('utilisateur')->find(array($request->getParameter('matricule')));
    $this->forward404Unless($this->utilisateur);


  }

et voila le code du template  cvSuccess

<span class="i3" >Votre non</span><span class="i2"><?php echo
$utilisateur->getprenom(); ?></span>

alors svp aidez moi

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to