Changeset 728 for trunk/phpbms/include
- Timestamp:
- 01/07/10 12:45:17 (2 years ago)
- Location:
- trunk/phpbms/include
- Files:
-
- 2 modified
-
relationships.php (modified) (1 diff)
-
search_class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/include/relationships.php
r703 r728 102 102 */ 103 103 foreach($theids as $theid) 104 $_SESSION["passedjoinwhere"] .= " OR ".$therecord["fromtable"].".id = ". $theid;104 $_SESSION["passedjoinwhere"] .= " OR ".$therecord["fromtable"].".id = ".((int) $theid); 105 105 106 106 $_SESSION["passedjoinwhere"] = substr($_SESSION["passedjoinwhere"], 3); -
trunk/phpbms/include/search_class.php
r720 r728 81 81 searchroleid, 82 82 advsearchroleid, 83 viewsqlroleid 83 viewsqlroleid, 84 editroleid, 85 addroleid 84 86 FROM 85 tabledefs inner joinmodules on tabledefs.moduleid = modules.uuid87 tabledefs INNER JOIN modules on tabledefs.moduleid = modules.uuid 86 88 WHERE 87 89 tabledefs.uuid= '".$id."'";