X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=e8e2843d35d9d064760407428ee47da4e6eae844;hb=ec7db76528badd24d3b1332736c5a6f71d2a0986;hp=9a7ade195d7a3e883f5d415471c83ec2fa24fa2f;hpb=1de0f433144272946051bb0df886b8c43459beb8;p=syj.git diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index 9a7ade1..e8e2843 100644 --- a/application/controllers/ContactController.php +++ b/application/controllers/ContactController.php @@ -84,7 +84,7 @@ class ContactController extends Zend_Controller_Action } if (empty($formData)) { - $user = $this->view->loggedUser(); + $user = $this->_helper->SyjSession->user(); if ($user) { $form->contact_email->setValue($user->email) ->setAttrib('readonly', 'true');