diff --git a/3.0/modules/rwinfo/helpers/rwinfo_theme.php b/3.0/modules/rwinfo/helpers/rwinfo_theme.php index 01f9d0c5..356331fa 100644 --- a/3.0/modules/rwinfo/helpers/rwinfo_theme.php +++ b/3.0/modules/rwinfo/helpers/rwinfo_theme.php @@ -44,14 +44,15 @@ class rwinfo_theme_Core { } // rWatcher End Edit - // rWatcher Edit: Display profile instead of web site, if viewable. - $str_owner_url = $item->owner->url; - if (rwinfo_theme_Core::_can_view_profile_pages(identity::lookup_user($item->owner->id))) { - $str_owner_url = user_profile::url($item->owner->id); - } - // rWatcher End Edit if ($item->owner) { + // rWatcher Edit: Display profile instead of web site, if viewable. + $str_owner_url = $item->owner->url; + if (rwinfo_theme_Core::_can_view_profile_pages(identity::lookup_user($item->owner->id))) { + $str_owner_url = user_profile::url($item->owner->id); + } + // rWatcher End Edit + $results .= "
  • "; if ($str_owner_url) { //rW Edit str_owner_url $results .= t("By: %owner_name",