]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ContactController.php
syj session controller helper
[syj.git] / application / controllers / ContactController.php
index 9a7ade195d7a3e883f5d415471c83ec2fa24fa2f..e8e2843d35d9d064760407428ee47da4e6eae844 100644 (file)
@@ -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');