Index: /branches/version-2/data/include/module.inc
===================================================================
--- /branches/version-2/data/include/module.inc	(revision 17125)
+++ /branches/version-2/data/include/module.inc	(revision 17138)
@@ -22,5 +22,5 @@
  */
 
-if (!defined('ECCUBE_INSTALLE')) {
+if (!defined('ECCUBE_INSTALL')) {
     return;
 }
@@ -44,5 +44,5 @@
 /**
  * インクルードするモジュールの一覧
- * XXX dtb_moduleとかに保持したい...
+ * FIXME dtb_moduleとかに保持する
  */
 $_arrModule = array(
@@ -59,5 +59,5 @@
     foreach ($_arrModuleCode as $_moduleCode) {
         $_file = MODULE_PATH . "$_moduleCode/include.php";
-        if (isset($_arrModule[$_moduleCode]) && file_exists($_file)) {
+        if (in_array($_moduleCode, $_arrModule) && file_exists($_file)) {
             include_once($_file);
         }
