Commit 0e7d91bf authored by colemanw's avatar colemanw

Fix conditional in civicrm_org_newsfeed_rss_page

parent 1a87a069
......@@ -26,7 +26,7 @@ function civicrm_org_newsfeed_rss_page() {
$view = views_get_view($view_name);
if ($view) {
foreach ($view->display as $display) {
if ($display->display_plugin == 'feed' && !isset($display->display_options['enabled']) || $display->display_options['enabled']) {
if ($display->display_plugin == 'feed' && (!isset($display->display_options['enabled']) || $display->display_options['enabled'])) {
$content = views_embed_view($view_name, $display->id);
// Omit the outer wrappers
$content = substr($content, strpos($content, '<channel'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment