[xoops-cvslog 2834] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2006年 4月 19日 (水) 14:00:46 JST


Index: xoops2jp/html/include/functions.php
diff -u xoops2jp/html/include/functions.php:1.2.8.13 xoops2jp/html/include/functions.php:1.2.8.14
--- xoops2jp/html/include/functions.php:1.2.8.13	Fri Apr 14 15:28:00 2006
+++ xoops2jp/html/include/functions.php	Wed Apr 19 14:00:46 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: functions.php,v 1.2.8.13 2006/04/14 06:28:00 minahito Exp $
+// $Id: functions.php,v 1.2.8.14 2006/04/19 05:00:46 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -578,7 +578,9 @@
     if (!isset($handlers[$module_dir][$name]) && !$optional) {
         trigger_error('Handler does not exist<br />Module: '.$module_dir.'<br />Name: '.$name, E_USER_ERROR);
     }
-    return isset($handlers[$module_dir][$name]) ? $handlers[$module_dir][$name] : false;
+	
+	$failvalue = false;
+    return isset($handlers[$module_dir][$name]) ? $handlers[$module_dir][$name] : $failvalue;
 }
 
 function xoops_getrank($rank_id =0, $posts = 0)


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