[Fusionforge-commits] r9396 - branches/Branch_5_0/gforge/www/export

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Apr 7 14:51:18 CEST 2010


Author: lolando
Date: 2010-04-07 14:51:18 +0200 (Wed, 07 Apr 2010)
New Revision: 9396

Modified:
   branches/Branch_5_0/gforge/www/export/rss_utils.inc
Log:
Fixed PHP notice

Modified: branches/Branch_5_0/gforge/www/export/rss_utils.inc
===================================================================
--- branches/Branch_5_0/gforge/www/export/rss_utils.inc	2010-04-07 12:32:29 UTC (rev 9395)
+++ branches/Branch_5_0/gforge/www/export/rss_utils.inc	2010-04-07 12:51:18 UTC (rev 9396)
@@ -32,7 +32,7 @@
 		$in = substr($in,0,$GLOBALS['description_maxlen']);
 	}
 	// according to netscape, this cannot be blank
-	if ((strlen($in)==0) && $GLOBALS['description_notnull']) {
+	if ((strlen($in)==0) && isset($GLOBALS['description_notnull']) && $GLOBALS['description_notnull']) {
 		$in = "No description available.";
 	}
 	return htmlspecialchars($in);




More information about the Fusionforge-commits mailing list