X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=nucleus%2Fconvert%2Fbloggercaif.php;h=82930832bc4001e2e9abc510f8ef8e2b9ae1cbbc;hb=b82168398ee0160603b015a4930998f6e656c098;hp=39e3311a7b33584f1096d8c99578d68fd97ad6a6;hpb=45cece9a52c73db40ca4ba37cc55ce63cc79a491;p=nucleus-jp%2Fnucleus-next.git diff --git a/nucleus/convert/bloggercaif.php b/nucleus/convert/bloggercaif.php index 39e3311..8293083 100644 --- a/nucleus/convert/bloggercaif.php +++ b/nucleus/convert/bloggercaif.php @@ -220,7 +220,7 @@ while ($a_name = array_pop($authors)) { @@ -247,7 +247,7 @@ while ($a_name = array_pop($authors)) {
@@ -258,7 +258,7 @@ while ($a_name = array_pop($authors)) { @@ -283,7 +283,7 @@ while ($a_name = array_pop($authors)) { function bc_doConversion() { - global $HTTP_POST_VARS; + global $HTTP_POST_VARS, $manager; // 1. get all data $authorcount = intval($HTTP_POST_VARS['authorcount']); @@ -347,7 +347,7 @@ function bc_doConversion() { } // add authors to blog team - $b = new Blog($nucleus_blogid); + $b =& $manager->getBlog($nucleus_blogid); global $catid; $catid = $b->getDefaultCategory();