Changeset 708
- Timestamp:
- Apr 21, 2011, 9:43:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_block_render.php
r691 r708 47 47 { 48 48 $options_string = ''; 49 $mid = get_block_mid($mydirname); 49 50 foreach ($options as $val){ 50 51 if (!empty($options_string)) $options_string .='|'; … … 55 56 $module_dir = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 56 57 57 $sql = "SELECT bid FROM $block_tbl WHERE ( func_file LIKE '$func_file') AND (options LIKE '$options_string')";58 $sql = "SELECT bid FROM $block_tbl WHERE (mid = $mid) AND (func_file LIKE '$func_file') AND (options LIKE '$options_string')"; 58 59 $result = $xoopsDB->query($sql, 0, 0); 59 60 if ($xoopsDB->getRowsNum($result) > 0){
Note: See TracChangeset
for help on using the changeset viewer.