From c6fa7b510dc938a14ddd1d2ecf2c98017924b9da Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 14 Feb 2011 01:24:51 +0000 Subject: Refs #2912. Added checks for constraints in dangerous functions. Unit tests no longer remove all metadata/annotations. git-svn-id: http://code.elgg.org/elgg/trunk@8215 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/object/page_top.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/pages') diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php index 89ef25572..f6ee532d3 100644 --- a/mod/pages/views/default/object/page_top.php +++ b/mod/pages/views/default/object/page_top.php @@ -26,6 +26,7 @@ if ($revision) { $annotation = $annotation[0]; } } +$annotation = null; $page_icon = elgg_view('pages/icon', array('annotation' => $annotation, 'size' => 'small')); -- cgit v1.2.3