//modify start+++++++++
function _createItemLink($itemid, $b){
- global $CONF, $manager;
+ global $CONF, $manager, $blog;
$blogurl = $b->getURL();
if (!$blogurl) {
function getRequiredURL($itemid){
global $manager;
- $blog = & $manager->getBlog(getBlogIDFromItemID($item['itemid']));
+// $blog = & $manager->getBlog(getBlogIDFromItemID($item['itemid']));
+ $blog = & $manager->getBlog(getBlogIDFromItemID($itemid));
if( $this->isEnableLinkCheck($itemid) )
return $this->_createItemLink($itemid, $blog);
return null;