aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/longtext.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index 43534eec7..ada419f13 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -14,6 +14,10 @@ $defaults = array(
'class' => 'elgg-input-longtext',
);
+// work around for deprecation code in elgg_views()
+unset($vars['internalname']);
+unset($vars['internalid']);
+
$vars = array_merge($defaults, $vars);
echo elgg_view('input/plaintext', $vars);