From 78c605613365abb9e68207214214c9ec3d5aa16c Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 19 Nov 2009 20:52:42 +0000 Subject: [PATCH] Changed this to action. THANKS zach! --- plugins/MobileProfile/MobileProfilePlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index bc67a3f369..0dcbad9e89 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);