Skip to content

Commit

Permalink
missed var declarationi/initialization
Browse files Browse the repository at this point in the history
missed var   $captchaSet  declarationi/initialization
  • Loading branch information
alikon authored Sep 18, 2016
1 parent 1ce657b commit 285da53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/com_contact/views/contact/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ public function display($tpl = null)
$model = $this->getModel();
$model->hit();

$captchaSet = $params->get('captcha', JFactory::getApplication()->get('captcha', '0'));

foreach (JPluginHelper::getPlugin('captcha') as $plugin)
{
if ($captchaSet === $plugin->name)
Expand Down

0 comments on commit 285da53

Please sign in to comment.