From d5f5f769479e6e97d23875eb0705bd5cda1a0c1b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 11 Mar 2011 12:45:55 -0800 Subject: [PATCH] durrrr s/textValue/textContent/ --- plugins/Poll/PollPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Poll/PollPlugin.php b/plugins/Poll/PollPlugin.php index 490f39005f..ea6ab9ecd9 100644 --- a/plugins/Poll/PollPlugin.php +++ b/plugins/Poll/PollPlugin.php @@ -208,10 +208,10 @@ class PollPlugin extends MicroAppPlugin $data = $pollElements->item(0); foreach ($data->getElementsByTagNameNS(self::POLL_OBJECT, 'question') as $node) { - $question = $node->textValue; // ? + $question = $node->textContent; } foreach ($data->getElementsByTagNameNS(self::POLL_OBJECT, 'option') as $node) { - $opts[] = $node->textValue; + $opts[] = $node->textContent; } try { $notice = Poll::saveNew($profile, $question, $opts, $options); -- 2.39.5