From: Dave Tosh Date: Thu, 27 May 2010 11:53:13 +0000 (+0000) Subject: small river issue fixed X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bc0819d6175633465d111557b7ff9ecded7ea9d0;p=lorea%2Felgg.git small river issue fixed git-svn-id: http://code.elgg.org@6251 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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 getURL() . "\">" . $title . ""; //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 .= "" . friendly_time($object->time_created) . "";