From 11c412e1e96d21db1445b17215c39db8e5bb07f5 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Mon, 23 Feb 2015 08:19:38 -0500 Subject: [PATCH] JText missing global namespace reference (Fix #67) --- .../com_patchtester/PatchTester/Model/PullModel.php | 4 ++-- .../com_patchtester/PatchTester/View/Fetch/tmpl/default.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php index ddb8c36..1c2928a 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php @@ -165,7 +165,7 @@ class PullModel extends \JModelBase if (!$files) { // TODO - Should be a better way to enqueue messages without needing the application... - \JFactory::getApplication()->enqueueMessage(JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message')); + \JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message')); return true; } @@ -275,7 +275,7 @@ class PullModel extends \JModelBase if (!$files) { - throw new \RuntimeException(sprintf(JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data))); + throw new \RuntimeException(sprintf(\JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data))); } jimport('joomla.filesystem.file'); diff --git a/administrator/components/com_patchtester/PatchTester/View/Fetch/tmpl/default.php b/administrator/components/com_patchtester/PatchTester/View/Fetch/tmpl/default.php index b9e8865..20e72fb 100644 --- a/administrator/components/com_patchtester/PatchTester/View/Fetch/tmpl/default.php +++ b/administrator/components/com_patchtester/PatchTester/View/Fetch/tmpl/default.php @@ -14,7 +14,7 @@ JHtml::_('script', 'com_patchtester/fetcher.js', false, true); ?>
-

-

+

+