[fixed] CMSMS 1.10 Beta3: $entry->title missing on detail
Posted: Wed Sep 28, 2011 8:55 am
Hi,
There is another issue with News articles displayed on a detail page: $entry->title is always unset.
I tracked the problem down to a modules/News/lib/class.news_ops.php method:It seems that the 'news_title' case is missing from the switch statement; so, the title value is never stored in the new news_article object.
I didn't check if there were any other $row keys missing from the switch statement. You might want to check that while you're "in" the function.
Cheers!
There is another issue with News articles displayed on a detail page: $entry->title is always unset.
I tracked the problem down to a modules/News/lib/class.news_ops.php method:
Code: Select all
static private function &get_article_from_row($row,$get_fields = 'PUBLIC')
{...
I didn't check if there were any other $row keys missing from the switch statement. You might want to check that while you're "in" the function.
Cheers!