Error File: /home/chubu-net-co-jp/code/application/kenzai/Works.php
Error Line: 135
Error Message: Missing argument 2 for Works::detail()

125: $id = $db->id('category');
126: $db->setWhere('works_category_id = ?', $id);
127: $this->page['sub_category'] = $db->select('works_category')->all();
128: }
129: }
130:
131: $this->displayPage('kenzai/works/category');
132: }
133:
134:
135: function detail($category_id, $internalId, $sub_category_id = '')
136: {
137: $this->_common();
138: $db = $this->getClass('MySQL');
139:
140: $db->setWhere('works_id = ? ', $internalId);
141: $this->page['works'] = $db->select('works')->one();
142:
143: $db->setWhere('works_category_id = ?', $category_id);
144: $this->page['category'] = $db->select('works_category')->one();
145: