Ignore:
Timestamp:
2006/12/05 12:42:39 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/newbb/viewforum.php

    r470 r471  
    339339 
    340340// ¥«¥Æ¥´¥ê̾¼èÆÀ 
    341 $sql = "SELECT cat_id, cat_title FROM ".$xoopsDB->prefix("bb_categories").", ".$xoopsDB->prefix("bb_forums")." WHERE forum_id = $forum"; 
    342  
     341$sql = "SELECT cat_id, cat_title FROM ".$xoopsDB->prefix("bb_categories")."c, ".$xoopsDB->prefix("bb_forums")."f WHERE c.cat_id = f.cat_id AND forum_id = $forum"; 
    343342 
    344343if ( !$result = $xoopsDB->query($sql) ) { 
Note: See TracChangeset for help on using the changeset viewer.