Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed view var to which widget is captured

- Renamed to "user" to reflect module namespace
  • Loading branch information...
commit b93f84b163323617e84f66e00eb9e8cd216d8a94 1 parent 9870cef
Matthew Weier O'Phinney authored
4 widgets-as-helpers/application/modules/user/helpers/HandleLogin.php
View
@@ -31,7 +31,7 @@ public function createProfileWidget()
return;
}
- $view->profile = $view->partial('profile.phtml', array(
+ $view->user = $view->partial('profile.phtml', array(
'identity' => Zend_Auth::getInstance()->getIdentity(),
));
}
@@ -42,7 +42,7 @@ public function renderLoginForm(Zend_Form $form, $error = null)
return;
}
- $view->profile = $view->partial('login.phtml', array(
+ $view->user = $view->partial('login.phtml', array(
'form' => $form,
'error' => $error,
));
Please sign in to comment.
Something went wrong with that request. Please try again.