- Timestamp:
- 05/13/06 14:27:24 (3 years ago)
- Files:
-
- devel/profile/profile.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/profile/profile.class.php
r339 r341 269 269 global $page_owner; 270 270 global $data; 271 global $CFG; 271 272 272 273 $run_result = ''; … … 277 278 278 279 if (!isset($data['profile:preload'][$flabel])) { 279 $value = get_record('profile_data','name',$fname,'owner',$page_owner); 280 280 if (!$value = get_record('profile_data','name',$fname,'owner',$page_owner)) { 281 $value = ""; 282 $value->value = ""; 283 $value->access = $CFG->default_access; 284 } 281 285 } else { 282 286 $value = ""; 283 287 $value->value = $data['profile:preload'][$fname]; 284 $value->access = "PUBLIC";288 $value->access = $CFG->default_access; 285 289 286 290 }
