Skip to content

Commit 11c412e

Browse files
author
Michael Babker
committed
JText missing global namespace reference (Fix #67)
1 parent 8cfae1e commit 11c412e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

administrator/components/com_patchtester/PatchTester/Model/PullModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function apply($id)
165165
if (!$files)
166166
{
167167
// TODO - Should be a better way to enqueue messages without needing the application...
168-
\JFactory::getApplication()->enqueueMessage(JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message'));
168+
\JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message'));
169169

170170
return true;
171171
}
@@ -275,7 +275,7 @@ public function revert($id)
275275

276276
if (!$files)
277277
{
278-
throw new \RuntimeException(sprintf(JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data)));
278+
throw new \RuntimeException(sprintf(\JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data)));
279279
}
280280

281281
jimport('joomla.filesystem.file');

administrator/components/com_patchtester/PatchTester/View/Fetch/tmpl/default.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
?>
1515

1616
<div id="patchtester-container">
17-
<h1 id="patchtester-progress-header"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1>
18-
<p id="patchtester-progress-message"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p>
17+
<h1 id="patchtester-progress-header"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1>
18+
<p id="patchtester-progress-message"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p>
1919
<input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" />
2020
</div>

0 commit comments

Comments
 (0)