From: Sarven Capadisli Date: Thu, 19 Nov 2009 20:52:42 +0000 (+0000) Subject: Changed this to action. THANKS zach! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78c605613365abb9e68207214214c9ec3d5aa16c;p=quix0rs-gnu-social.git Changed this to action. THANKS zach! --- 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);