1
Greetings -
In the extended waiting module, in the plugin directory, for the plugin 'xdirectory' I found that the ModReq (modification requests) were not being listed.
After the changes to the 'xdirectory.php' shown bellow the 'ModReq' started showing.
// xdirectory modreq
$block = array();
$result = $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("xdir_mod"));
if ( $result ) {
$block['adminlink'] = XOOPS_URL."/modules/xdirectory/admin/index.php?op=listModReq";
list($block['pendingnum']) = $xoopsDB->fetchRow($result);
$block['lang_linkname'] = _MB_WAITING_XDIR_MODREQ ;
}
$ret[] = $block ; <<<---MISSING LINE
Hope this helps someone out there in the XOOPS community.