Fixed  RSS Feed {authors}

Lu Kas

Active member
Beta 6

When i use {authors} in the message template field of the rss feed, i get this error on hitting "import now".

Object of class Zend_Feed_Reader_Collection_Author could not be converted to string
   1. XenForo_Application::handlePhpError() in XenForo/Model/Feed.php at line 264
   2. XenForo_Model_Feed->_replaceTokens() in XenForo/Model/Feed.php at line 239
   3. XenForo_Model_Feed->prepareFeedEntry() in XenForo/Model/Feed.php at line 212
   4. XenForo_Model_Feed->prepareFeedData() in XenForo/Model/Feed.php at line 451
   5. XenForo_Model_Feed->importFeedData() in XenForo/ControllerAdmin/Feed.php at line 128
   6. XenForo_ControllerAdmin_Feed->actionImport() in XenForo/FrontController.php at line 310
   7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
   8. XenForo_FrontController->run() in /www/htdocs/v126843/dev/project/forum/admin.php at line 13

when i use just {author} it works fine. i am posting this because in the description of the field it says:

.... represent data from the feed: {title} {content} {authors} {link}