[xoops-cvslog 3108] CVS update: xoops2jp/html/kernel

Back to archive index

Minahito minah****@users*****
2006年 5月 19日 (金) 19:23:56 JST


Index: xoops2jp/html/kernel/configitem.php
diff -u xoops2jp/html/kernel/configitem.php:1.2.8.5 xoops2jp/html/kernel/configitem.php:1.2.8.6
--- xoops2jp/html/kernel/configitem.php:1.2.8.5	Tue May 16 22:25:07 2006
+++ xoops2jp/html/kernel/configitem.php	Fri May 19 19:23:56 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: configitem.php,v 1.2.8.5 2006/05/16 13:25:07 nobunobu Exp $
+// $Id: configitem.php,v 1.2.8.6 2006/05/19 10:23:56 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -94,11 +94,11 @@
 	}
 	
     /**
-     * Get a constract of description
+     * Get a constract of description. If it isn't defined, return null.
      */
 	function getDesc()
 	{
-		return defined($this->get('conf_desc')) ? constant($this->get('conf_desc')) : $this->get('conf_desc');
+		return defined($this->get('conf_desc')) ? constant($this->get('conf_desc')) : null;
 	}
 	
 	/**


xoops-cvslog メーリングリストの案内
Back to archive index