Index: /temp/test-xoops.ec-cube.net/html/modules/test/kakinaka/topic_list.php
===================================================================
--- /temp/test-xoops.ec-cube.net/html/modules/test/kakinaka/topic_list.php	(revision 1003)
+++ /temp/test-xoops.ec-cube.net/html/modules/test/kakinaka/topic_list.php	(revision 1004)
@@ -6,4 +6,5 @@
 
 $sql = 'SELECT * FROM ' . $xoopsDB->prefix('bb_topics');
+print($sql);
 if ( !$result = $xoopsDB->query($sql) ) {
     redirect_header(XOOPS_URL.'/',1,_MD_ERROROCCURED);
@@ -11,5 +12,4 @@
 }
 
-print($result);
 
 while ( $myrow = $xoopsDB->fetchArray($result) ) {
