• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの


Commit MetaInfo

Revisiona3c4cd2924a625a127a7e3c0cc81dca9ac6c24fd (tree)
Time2006-10-04 15:24:43
Authorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

bug fix (getReuiredURL())

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@414 1ca29b6e-896d-4ea0-84a5-967f57386b96

Change Summary

Incremental Difference

--- a/trunk/NP_TrackBack/NP_TrackBack.php
+++ b/trunk/NP_TrackBack/NP_TrackBack.php
@@ -31,7 +31,7 @@
3131
3232 //modify start+++++++++
3333 function _createItemLink($itemid, $b){
34- global $CONF, $manager;
34+ global $CONF, $manager, $blog;
3535 $blogurl = $b->getURL();
3636
3737 if (!$blogurl) {
@@ -1221,7 +1221,8 @@
12211221
12221222 function getRequiredURL($itemid){
12231223 global $manager;
1224- $blog = & $manager->getBlog(getBlogIDFromItemID($item['itemid']));
1224+// $blog = & $manager->getBlog(getBlogIDFromItemID($item['itemid']));
1225+ $blog = & $manager->getBlog(getBlogIDFromItemID($itemid));
12251226 if( $this->isEnableLinkCheck($itemid) )
12261227 return $this->_createItemLink($itemid, $blog);
12271228 return null;
Show on old repository browser