Skip to content

Commit

Permalink
Issue techjoomla#48 chore: Log Email details in DB table
Browse files Browse the repository at this point in the history
  • Loading branch information
punambaravkar committed Jul 2, 2019
1 parent 48ba815 commit 102d3b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/com_tjnotifications/admin/views/logs/tmpl/param.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
*/
// No direct access
defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Table\Table;

$jinput = Factory::getApplication()->input;
$logId = $jinput->get('id', 0, 'INT');
if($logId)

if ($logId)
{
Table::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_tjnotifications/tables');
$logTable = Table::getInstance('Log', 'TjnotificationsTable');
Expand All @@ -24,7 +27,7 @@
<div>
<?php if ($logTable->id) : ?>
<h3 class="modal-title">
<?php echo Text::_("COM_TJNOTIFICATIONS_VIEW_PARAMS_POPUP"); ?>
<?php echo Text::_("COM_TJNOTIFICATIONS_VIEW_PARAMS_POPUP"); ?>
</h3>
<div class="col-xs-12">
<?php echo $logTable->params; ?>
Expand Down

0 comments on commit 102d3b2

Please sign in to comment.