Fix gh-249 that caused the admin views to break in PHP 7.2 We also added VDM package import to the import of JCB packages

This commit is contained in:
2018-03-21 04:45:51 +02:00
parent 1c8129eec7
commit baba793def
13 changed files with 379 additions and 65 deletions

View File

@@ -704,7 +704,7 @@ jQuery('input.form-field-repeatable').on('row-add', function (e) {
});
});
<?php endforeach; ?>
<?php $numberAddtables = range(0, count($this->item->addtables) + 3, 1);?>
<?php $numberAddtables = range(0, count( (array) $this->item->addtables) + 3, 1);?>
// for the values already set
jQuery(document).ready(function(){