aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/comments.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 16:46:16 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 16:46:16 +0000
commitc27a41a0e291fbf4e8b13a5f8939146c74f77e8b (patch)
tree84b8281435455bbf1d8a2035ee5ce2294bcbe938 /views/default/page/elements/comments.php
parent1e0dc4108f3beedd548febd4aec2e42db8014e70 (diff)
downloadelgg-c27a41a0e291fbf4e8b13a5f8939146c74f77e8b.tar.gz
elgg-c27a41a0e291fbf4e8b13a5f8939146c74f77e8b.tar.bz2
another work around to suppress incorrect warnings from elgg_view()
git-svn-id: http://code.elgg.org/elgg/trunk@8330 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements/comments.php')
-rw-r--r--views/default/page/elements/comments.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/page/elements/comments.php b/views/default/page/elements/comments.php
index c27a146ab..6a7e74b2a 100644
--- a/views/default/page/elements/comments.php
+++ b/views/default/page/elements/comments.php
@@ -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(