Permalink
Browse files

php 5.4 error fixes #11

  • Loading branch information...
dogmatic69 committed Apr 6, 2013
1 parent f383fd5 commit 2267d7f1bb653ba6eee14451edc86b6160e02f0d
Showing with 4 additions and 3 deletions.
  1. +4 −3 View/Helper/FavoritesHelper.php
@@ -15,7 +15,7 @@
* @package favorites
* @subpackage favorites.views.helpers
*/
-
+
class FavoritesHelper extends AppHelper {
/**
@@ -44,10 +44,11 @@ class FavoritesHelper extends AppHelper {
/**
* Before render callback
* Initializes the Helper
- *
+ *
+ * @param string $viewFile The view file that is going to be rendered
* @return void
*/
- public function beforeRender() {
+ public function beforeRender($viewFile) {
if (ClassRegistry::isKeySet('view')) {
$View = ClassRegistry::getObject('view');
$this->_userFavorites = $View->getVar('userFavorites');

0 comments on commit 2267d7f

Please sign in to comment.