From 700ae307bd2bc698f60ffd02afcc87aaff9f74e5 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 26 Sep 2011 20:31:58 -0400 Subject: Fixes #2921 clearing new ignore internal variables --- engine/lib/output.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engine/lib/output.php') diff --git a/engine/lib/output.php b/engine/lib/output.php index 04c737062..9479fee53 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -215,6 +215,14 @@ function elgg_clean_vars(array $vars = array()) { unset($vars['internalid']); } + if (isset($vars['__ignoreInternalid'])) { + unset($vars['__ignoreInternalid']); + } + + if (isset($vars['__ignoreInternalname'])) { + unset($vars['__ignoreInternalname']); + } + return $vars; } -- cgit v1.2.3