]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
durrrr s/textValue/textContent/
authorBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 20:45:55 +0000 (12:45 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 20:45:55 +0000 (12:45 -0800)
plugins/Poll/PollPlugin.php

index 490f39005f26c1f2ce85f30a00a13ed1a0d1d648..ea6ab9ecd99170a13eeee02191748454975162e5 100644 (file)
@@ -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);