Skip to content

Commit

Permalink
[BUGFIX] Prevent error with fetching beGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
frans-beech-it committed Mar 24, 2015
1 parent efa3ab3 commit ab25aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/Import/TTNewsCategoryImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function migrateTtNewsCategoryMountsToSysCategoryPerms($table) {

$data = array();

foreach ($beGroupsOrUsersWithTtNewsCategorymounts as $beGroupOrUser) {
foreach ((array)$beGroupsOrUsersWithTtNewsCategorymounts as $beGroupOrUser) {
$ttNewsCategoryPermissions = GeneralUtility::trimExplode(',', $beGroupOrUser['tt_news_categorymounts']);
$sysCategoryPermissions = array();
foreach ($ttNewsCategoryPermissions as $ttNewsCategoryPermissionUid) {
Expand Down

0 comments on commit ab25aad

Please sign in to comment.