X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=8ff629ba597b42ce02bc1824842dcd9d50569196;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hp=aabd9f6630f1c804fa04e35a34bc9a60b013cd6a;hpb=1f6105289a49079809c2a4677b561bc82c62db88;p=syj.git diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index aabd9f6..8ff629b 100644 --- a/application/controllers/ContactController.php +++ b/application/controllers/ContactController.php @@ -83,7 +83,7 @@ class ContactController extends Zend_Controller_Action } if (empty($formData)) { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); if ($user) { $form->contact_email->setValue($user->email) ->setAttrib('readonly', 'true');