X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=8ff629ba597b42ce02bc1824842dcd9d50569196;hp=aabd9f6630f1c804fa04e35a34bc9a60b013cd6a;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hpb=0fb09adccd5c3b305d56f1b267dbd3bf836fd17f 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');