Skip to content

Commit ad7f797

Browse files
authored
Update ModuleTagListByCategory.php
Array must be merged
1 parent 6045902 commit ad7f797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/ModuleTagListByCategory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function compile()
115115
$arrTagTemplates = array();
116116
foreach ($GLOBALS['TL_HOOKS']['tagSourceTable'] as $type => $callback) {
117117
$this->import($callback[0]);
118-
$arrTagTemplates[] = $this->$callback[0]->$callback[1]($sourcetable,$tagid_cats[$sourcetable]);
118+
$arrTagTemplates = array_merge($arrTagTemplates,$this->$callback[0]->$callback[1]($sourcetable,$tagid_cats[$sourcetable]));
119119
}
120120
$this->Template->other_pages = $arrTagTemplates;
121121
}

0 commit comments

Comments
 (0)