summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-19 20:52:42 +0000
committerSarven Capadisli <csarven@status.net>2009-11-19 20:52:42 +0000
commit78c605613365abb9e68207214214c9ec3d5aa16c (patch)
treeb42df40d94afd50e8bb90c11afd491a0df3b7204
parent8971a12f89ad161bfaea6a5b938ee2bb4b2bf8c5 (diff)
Changed this to action. THANKS zach!
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index bc67a3f36..0dcbad9e8 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -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);