Permalink
Browse files

Renamed view var to which widget is captured

- Renamed to "user" to reflect module namespace
  • Loading branch information...
1 parent 9870cef commit b93f84b163323617e84f66e00eb9e8cd216d8a94 @weierophinney committed Oct 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 widgets-as-helpers/application/modules/user/helpers/HandleLogin.php
View
4 widgets-as-helpers/application/modules/user/helpers/HandleLogin.php
@@ -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,
));

0 comments on commit b93f84b

Please sign in to comment.