aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 11:53:13 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 11:53:13 +0000
commitbc0819d6175633465d111557b7ff9ecded7ea9d0 (patch)
tree7038e9e59c512a7d1713e21df84c8d8e957f6692 /views/default/river/object
parenta31a562988c02ad6d1114546f6bdcf8a054853f5 (diff)
downloadelgg-bc0819d6175633465d111557b7ff9ecded7ea9d0.tar.gz
elgg-bc0819d6175633465d111557b7ff9ecded7ea9d0.tar.bz2
small river issue fixed
git-svn-id: http://code.elgg.org@6251 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/object')
-rw-r--r--views/default/river/object/videolist/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php
index 9cb170bc2..cad31c5db 100644
--- a/views/default/river/object/videolist/create.php
+++ b/views/default/river/object/videolist/create.php
@@ -15,7 +15,7 @@ if(!$title) {
$string = sprintf(elgg_echo("videolist:river:created"),$url) . " ";
$string .= elgg_echo("videolist:river:item") . " titled <a href=\"" . $object->getURL() . "\">" . $title . "</a>";
//if the video was added to a group, show that unless displayed on the group profile
-if($is_group && get_context() != 'groups'){
+if(($is_group instanceof ElggGroup) && (get_context() != 'groups')){
$string .= " " . elgg_echo('videolist:ingroup') . " " . $is_group->name;
}
$string .= "<span class='entity_subtext'>" . friendly_time($object->time_created) . "</span>";