Skip to content

Commit

Permalink
fixed: subs plugin - onThanks - message now ordered differently so ha…
Browse files Browse the repository at this point in the history
…d to grab it in a different manner (due to plugin storage changes)
  • Loading branch information
pollen8 committed Sep 5, 2012
1 parent c3b701c commit 4367813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/fabrik_form/subscriptions/subscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ public function onThanks()
$formModel->setId($formid);
$params = $formModel->getParams();
$ret_msg = (array) $params->get('subscriptions_return_msg');
$ret_msg = $ret_msg[JRequest::getInt('renderOrder')];
$ret_msg = array_values($ret_msg);
$ret_msg = JArrayHelper::getValue($ret_msg, 0);
if ($ret_msg)
{
$w = $this->getWorker();
Expand Down

0 comments on commit 4367813

Please sign in to comment.