[xoops-cvslog 6637] CVS update: xoops2jp/html/class/xml/rss

アーカイブの一覧に戻る

NobuNobu nobun****@users*****
2007年 4月 30日 (月) 16:51:04 JST


Index: xoops2jp/html/class/xml/rss/xmlrss2parser.php
diff -u xoops2jp/html/class/xml/rss/xmlrss2parser.php:1.2 xoops2jp/html/class/xml/rss/xmlrss2parser.php:1.2.28.1
--- xoops2jp/html/class/xml/rss/xmlrss2parser.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/xml/rss/xmlrss2parser.php	Mon Apr 30 16:51:04 2007
@@ -1,5 +1,5 @@
 <?php
-// $Id: xmlrss2parser.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $
+// $Id: xmlrss2parser.php,v 1.2.28.1 2007/04/30 07:51:04 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -29,6 +29,8 @@
 // Project: The XOOPS Project                                                //
 // ------------------------------------------------------------------------- //
 
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
 require_once(XOOPS_ROOT_PATH.'/class/xml/saxparser.php');
 require_once(XOOPS_ROOT_PATH.'/class/xml/xmltaghandler.php');
 
@@ -83,7 +85,8 @@
             if (isset($this->_channelData[$name])) {
                 return $this->_channelData[$name];
             }
-            return false;
+            $ret = false;
+            return $ret;
         }
         return $this->_channelData;
     }
@@ -99,7 +102,8 @@
             if (isset($this->_imageData[$name])) {
                 return $this->_imageData[$name];
             }
-            return false;
+            $ret = false;
+            return $ret;
         }
         return $this->_imageData;
     }


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る