OSDN Git Service

Avoid fatal error in parse_bloglist() when the blog is not defined.
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 26 Feb 2007 23:42:01 +0000 (23:42 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 26 Feb 2007 23:42:01 +0000 (23:42 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@210 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/ACTIONS.php

index ebab1fa..2ebaf38 100644 (file)
@@ -18,8 +18,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: ACTIONS.php,v 1.4 2007-02-04 06:28:45 kimitake Exp $
- * @version $NucleusJP: ACTIONS.php,v 1.3 2006/11/13 00:36:39 kimitake Exp $
+ * @version $Id: ACTIONS.php,v 1.5 2007-02-26 23:42:01 kmorimatsu Exp $
+ * @version $NucleusJP: ACTIONS.php,v 1.4 2007/02/04 06:28:45 kimitake Exp $
  */
 
 class ACTIONS extends BaseActions {
@@ -470,9 +470,7 @@ class ACTIONS extends BaseActions {
        *       bnametype: whether 'name' or 'shortname' is used for the link text        
        */      
        function parse_bloglist($template, $bnametype = '') {
-               global $blog;
-               
-               $blog->showBlogList($template, $bnametype);
+               BLOG::showBlogList($template, $bnametype);
        }
        
        /**