From 3b0e79d97d1017eec4d295b1f0920a23f5b480f4 Mon Sep 17 00:00:00 2001 From: rWatcher Date: Wed, 20 Jun 2012 14:46:37 -0400 Subject: [PATCH] Bug Fix: Apparently these should be static. --- 3.0/modules/rwinfo/helpers/rwinfo_block.php | 2 +- 3.0/modules/rwinfo/helpers/rwinfo_theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3.0/modules/rwinfo/helpers/rwinfo_block.php b/3.0/modules/rwinfo/helpers/rwinfo_block.php index 319e58c2..da9ebfde 100644 --- a/3.0/modules/rwinfo/helpers/rwinfo_block.php +++ b/3.0/modules/rwinfo/helpers/rwinfo_block.php @@ -147,7 +147,7 @@ class rwinfo_block_Core { } // This came from modules/gallery/controllers/user_profile.php. - private function _can_view_profile_pages($user) { + static private function _can_view_profile_pages($user) { if (!$user->loaded()) { return false; } diff --git a/3.0/modules/rwinfo/helpers/rwinfo_theme.php b/3.0/modules/rwinfo/helpers/rwinfo_theme.php index 874ce8a2..01f9d0c5 100644 --- a/3.0/modules/rwinfo/helpers/rwinfo_theme.php +++ b/3.0/modules/rwinfo/helpers/rwinfo_theme.php @@ -66,7 +66,7 @@ class rwinfo_theme_Core { } // This came from modules/gallery/controllers/user_profile.php. - private function _can_view_profile_pages($user) { + static private function _can_view_profile_pages($user) { if (!$user->loaded()) { return false; }