Improve support for PHP 7.2. Replaces #3440

This commit is contained in:
Luke Towers 2019-04-19 15:47:28 -06:00
parent 7c7ff31cd6
commit 4abd74febc
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?php if ($formModel->referer && count($formModel->referer) > 0): ?>
<?php if (is_countable($formModel->referer) && count($formModel->referer) > 0): ?>
<div class="form-control control-simplelist with-icons">
<ul>
<?php foreach ((array) $formModel->referer as $referer): ?>