[Vtigercrm-commits] [vtiger-commits] r5870 - /vtigercrm/trunk/modules/Rss/Rss.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 11 08:27:56 EDT 2006
Author: richie
Date: Thu May 11 06:27:52 2006
New Revision: 5870
Log:
code modified to add rss from webform
Modified:
vtigercrm/trunk/modules/Rss/Rss.php
Modified: vtigercrm/trunk/modules/Rss/Rss.php
==============================================================================
--- vtigercrm/trunk/modules/Rss/Rss.php (original)
+++ vtigercrm/trunk/modules/Rss/Rss.php Thu May 11 06:27:52 2006
@@ -16,7 +16,7 @@
require_once('data/CRMEntity.php');
require_once('include/database/PearDatabase.php');
-require_once($theme_path."layout_utils.php");
+//require_once($theme_path."layout_utils.php");
// Require the xmlParser class
require_once('include/feedParser/xmlParser.php');
@@ -98,9 +98,11 @@
* returns true on sucess
* returns false if fails
*/
- function saveRSSUrl($url,$makestarred,$rsscategory)
- {
- global $adb;
+ function saveRSSUrl($url,$makestarred=0,$rsscategory='')
+ {
+ global $adb;
+ if($rsscategory == '')
+ $rsscategory = 'vtiger Discussions';
if ($url != "")
{
More information about the vtigercrm-commits
mailing list