params->get('revised'); $header = trim($header); $mygen = $this->params->get('mygen'); $mygen = trim($mygen); $document = JFactory::getDocument(); if (!empty($header)) { $HeadData = $document->getHeadData(); $HeadData['metaTags']['standard']['revised'] = $this->params->get('revised'); $document->setHeadData($HeadData); } if (empty($mygen)) { $document->setGenerator(''); } else { $document->setGenerator($mygen); } } }