]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Changed this to action. THANKS zach!
authorSarven Capadisli <csarven@status.net>
Thu, 19 Nov 2009 20:52:42 +0000 (20:52 +0000)
committerSarven Capadisli <csarven@status.net>
Thu, 19 Nov 2009 20:52:42 +0000 (20:52 +0000)
plugins/MobileProfile/MobileProfilePlugin.php

index bc67a3f369d6ce350e6b41aed7e80a9b816f59a1..0dcbad9e8924f3f3a39fab9877a0d52a1436b8cc 100644 (file)
@@ -188,12 +188,12 @@ class MobileProfilePlugin extends WAP20Plugin
 
         header('Content-Type: '.$type);
 
-        $this->extraHeaders();
+        $action->extraHeaders();
         if (preg_match("/.*\/.*xml/", $type)) {
             // Required for XML documents
-            $this->xw->startDocument('1.0', 'UTF-8');
+            $action->xw->startDocument('1.0', 'UTF-8');
         }
-        $this->xw->writeDTD('html',
+        $action->xw->writeDTD('html',
                         '-//WAPFORUM//DTD XHTML Mobile 1.0//EN',
                         $this->DTD);