Fixed admin_fields_conditions edit view to insure an array gets given to the count function

This commit is contained in:
2018-04-27 15:45:50 +02:00
parent 74f2d8df56
commit cec566176d
10 changed files with 20 additions and 12 deletions

View File

@ -120,7 +120,7 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<?php $numberAddconditions = range(0, count($this->item->addconditions) + 3, 1);?>
<?php $numberAddconditions = range(0, count( (array) $this->item->addconditions) + 3, 1);?>
// for the values already set
jQuery(document).ready(function(){