1
0

Bug Fix: Apparently these should be static.

This commit is contained in:
rWatcher 2012-06-20 14:46:37 -04:00
parent e011deb115
commit 3b0e79d97d
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}