Skip to content

Commit

Permalink
Merge pull request #154 from koertho/patch-1
Browse files Browse the repository at this point in the history
Fix issue with contao < 4.13
  • Loading branch information
MDevster authored Nov 21, 2024
2 parents 2c7ae1c + 30b707a commit 648a3d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Resources/contao/dca/tl_news_archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
* file that was distributed with this source code.
*/

use Contao\ArrayUtil;

$table = 'tl_news_archive';

/*
* Add global operations
*/
ArrayUtil::arrayInsert($GLOBALS['TL_DCA'][$table]['list']['global_operations'], 0, [
array_insert($GLOBALS['TL_DCA'][$table]['list']['global_operations'], 0, [
'socialFeedAccounts' => [
'label' => &$GLOBALS['TL_LANG']['MSC']['socialFeedAccounts'],
'href' => 'do=socialFeed',
Expand Down

0 comments on commit 648a3d9

Please sign in to comment.