OSDN Git Service

FIX: リファレンスにまつわるコードを修正
[nucleus-jp/nucleus-next.git] / nucleus / convert / functions.inc.php
index 045cbdb..be81999 100644 (file)
@@ -12,7 +12,7 @@
 /**
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2006 The Nucleus Group
- * @version $Id: functions.inc.php 1624 2012-01-09 11:36:20Z sakamocchi $
+ * @version $Id: functions.inc.php 1889 2012-06-17 08:46:45Z sakamocchi $
  */
 
 // try to set a long timeout time
@@ -228,8 +228,10 @@ class BlogImport {
                }
 
                // - call callback
-               if ($this->strCallback && function_exists($this->strCallback)) {
-                       call_user_func_array($this->strCallback, array(&$aData));
+               if ( $this->strCallback && function_exists($this->strCallback) )
+               {
+                       $params = array(&$aData);
+                       call_user_func_array($this->strCallback, $params);
                }
 
                if ($this->bDebug) {
@@ -294,7 +296,7 @@ class BlogImport {
                                $query =  'SELECT bname as text, bnumber as value FROM '.sql_table('blog');
                                $template['name'] = 'blogid';
                                $template['selected'] = $CONF['DefaultBlog'];
-                               showlist($query,'select',$template);
+                               echo showlist($query,'select',$template);
                                break;
 // ----------------------------------------------------------------------------------------
                        case 'ConvertSelectMembers':
@@ -994,7 +996,7 @@ if ($ver > 250)
                <head>
                        <title>Nucleus Convert</title>
                        <style><!--
-                               @import url('../styles/manual.css');
+                               @import url('../styles/documentation/manual.css');
                        --></style>
                </head>
                <body>