Skip to content

Commit

Permalink
Fix operator
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansl committed Mar 1, 2021
1 parent 9b2cf09 commit d5eb153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NewsPodcasts.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected static function generateFiles($arrFeed): void
$arrNewsId['id'][] = $id['news_id'];
}

if (null != $arrNewsId) {
if (null !== $arrNewsId) {
$arrColumns[] = "id IN(".\implode(',', $arrNewsId['id']).')';
}
}
Expand Down Expand Up @@ -337,8 +337,8 @@ protected static function generateFiles($arrFeed): void
}

// Create the file
// $shareDir = System::getContainer()->getParameter('contao.web_dir') . '/share/';
$shareDir = 'web/share/';
// $shareDir = System::getContainer()->getParameter('contao.web_dir') . '/share/';

File::putContent(
$shareDir . $strFile . '.xml',
Expand Down

0 comments on commit d5eb153

Please sign in to comment.