Changeset 737
- Timestamp:
- 01/08/10 12:51:54 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/include/menu.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/include/menu.php
r703 r737 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 113 $uuid = 0;// can still check for an invalid parentid even though the current uuid is bad112 113 $uuid = "";// can still check for an invalid parentid even though the current uuid is bad 114 114 115 115 //use the current id if it exists (A menu record cannot be its own parent) … … 133 133 case "cat": 134 134 $variables["link"] = ""; 135 $variables["parentid"] = 0;135 $variables["parentid"] = ""; 136 136 break; 137 137 case "search": … … 166 166 167 167 function displayParentDropDown($selectedpid, $uuid){ 168 169 //if($uuid == "")170 // $uuid = 0;171 168 172 169 $querystatement = " … … 179 176 `uuid` != '".$uuid."' 180 177 AND 181 `parentid` = 0178 `parentid` = '' 182 179 AND 183 180 (