]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added a work around for injecting internal* variables to handle deprecation code...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:31:17 +0000 (16:31 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:31:17 +0000 (16:31 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8329 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/input/longtext.php

index 43534eec7fd6abbe4bf20fbb8c665f541134329c..ada419f13fe6d612e1153868265f657af07163e2 100644 (file)
@@ -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);