Changeset 770
- Timestamp:
- 01/21/10 18:33:00 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/include/menu.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/include/menu.php
r737 r770 74 74 ; 75 75 "; 76 76 77 77 $queryresult = $this->db->query($querystatement); 78 78 … … 110 110 //not set is acceptable 111 111 if(isset($variables["parentid"])){ 112 112 113 113 $uuid = "";// can still check for an invalid parentid even though the current uuid is bad 114 114 … … 176 176 `uuid` != '".$uuid."' 177 177 AND 178 `parentid` = ''178 (`parentid` = '' OR `parentid` IS NULL) 179 179 AND 180 180 ( 181 link= \"\"181 link='' 182 182 OR 183 183 link IS NULL … … 217 217 218 218 if(!$useUUID){ 219 219 220 220 $whereclause=$this->buildWhereClause(); 221 221 //menu.parentid must be a uuid and not an id.