From db7b497114329dda5f560198884c5bc5fbb3c1a8 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 3 Nov 2010 02:13:36 +0000 Subject: Fixes #2128 - replaces all uses of set_context() and get_context() in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@7215 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/annotation/annotate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/annotation') diff --git a/views/default/annotation/annotate.php b/views/default/annotation/annotate.php index 0ee972e77..3266b2904 100644 --- a/views/default/annotation/annotate.php +++ b/views/default/annotation/annotate.php @@ -20,7 +20,7 @@ $string = sprintf(elgg_echo("river:posted:generic"), $url) . " "; $string .= elgg_echo("{$subtype}:river:annotate") . " getURL()}\">" . $title . " " . elgg_view_friendly_time($object->time_created) . "Comment"; $string .= elgg_view('likes/forms/link', array('entity' => $object)); $string .= ""; -if (get_context() != 'riverdashboard') { +if (elgg_get_context() != 'riverdashboard') { $comment = elgg_get_excerpt($comment, 200); if ($comment) { $string .= "
"; -- cgit v1.2.3