fix: [taxonomies] non initialised variable throwing notices fixed

pull/4478/head
iglocska 2019-04-11 12:05:55 +02:00
parent 8a6ddf3459
commit 59949b2512
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class TaxonomiesController extends AppController
$this->loadModel('AttributeTag');
foreach ($taxonomy['entries'] as $key => $value) {
$count = 0;
$count_a = 0;
if (!empty($value['existing_tag'])) {
foreach ($value['existing_tag'] as $et) {
$count = $this->EventTag->find('count', array(