aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-09-26 20:31:58 -0400
committercash <cash.costello@gmail.com>2011-09-26 20:31:58 -0400
commit700ae307bd2bc698f60ffd02afcc87aaff9f74e5 (patch)
tree62e83dccc9094a0f5bb2ed312a9f7417d55aec95 /engine
parent33d791bee34f1b2d5ae6b0c8e184c4bb1c00bc1a (diff)
downloadelgg-700ae307bd2bc698f60ffd02afcc87aaff9f74e5.tar.gz
elgg-700ae307bd2bc698f60ffd02afcc87aaff9f74e5.tar.bz2
Fixes #2921 clearing new ignore internal variables
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/output.php8
1 files changed, 8 insertions, 0 deletions
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;
}