Skip to content

Commit

Permalink
Merge pull request Fabrik#1113 from Sophist-UK/fix_fabrik_forms_log_i…
Browse files Browse the repository at this point in the history
…ssue_1110_f30

Fix Fabrik#1110 F3.0
  • Loading branch information
pollen8 committed Dec 19, 2013
2 parents 5f46257 + a3cbc03 commit ecfbc68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/fabrik_form/logs/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,12 @@ function generate_filename ($length)
{
$c = 0;
$origData = $formModel->_origData;
$log_elements = $params->get('logs_element_list', '');

if(!empty($log_elements)){
$log_elements = explode(',', str_replace(' ', '', $log_elements));
}

$log_elements = explode(',', str_replace(' ', '', $params->get('logs_element_list', '')));
$groups = $formModel->getGroupsHiarachy();
foreach ($groups as $groupModel)
{
Expand Down

0 comments on commit ecfbc68

Please sign in to comment.