Fixed admin_fields_conditions edit view to insure an array gets given to the count function
This commit is contained in:
@ -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(){
|
||||
|
Reference in New Issue
Block a user