]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
another work around to suppress incorrect warnings from elgg_view()
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:46:16 +0000 (16:46 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:46:16 +0000 (16:46 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8330 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/page/elements/comments.php

index c27a146ab24c0d109b58dc9117142d8307c13415..6a7e74b2a3ae7a20af4aeb5fc08c8b8ce9ef5614 100644 (file)
@@ -14,6 +14,9 @@ if (isset($vars['id'])) {
        $id = "id =\"{$vars['id']}\"";
 }
 
+// work around for deprecation code in elgg_view()
+unset($vars['internalid']);
+
 echo "<div $id class=\"elgg-comments\">";
 
 $options = array(