Changeset 744 for trunk/phpbms
- Timestamp:
- 01/09/10 23:17:12 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/install/generateuuids.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/install/generateuuids.php
r743 r744 260 260 $list = array(); 261 261 while($therecord = $this->db->fetchArray($queryresult)) 262 $list[$therecord["id"]] = $therecord["uuid"]; 262 if($therecord["uuid"]) 263 $list[$therecord["id"]] = $therecord["uuid"]; 263 264 264 265 return $list; … … 320 321 321 322 foreach($fields as $key=>$value) 322 if(strpos($therecord[$key],":") === false && ((int) $therecord[$key]))323 if(isset($value[$therecord[$key]]) && $therecord[$key] != 0)323 if(strpos($therecord[$key],":") === false) 324 if(isset($value[$therecord[$key]])) 324 325 $updateClause .= ", `".$key."` = '".$value[$therecord[$key]]."'"; 325 326 else