Changeset 585
- Timestamp:
- 09/20/06 12:12:11 (2 years ago)
- Files:
-
- devel/units/profile/function_init.php (modified) (2 diffs)
- devel/units/profile/main.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/profile/function_init.php
r573 r585 6 6 7 7 global $profile_id; 8 9 $profile_id = optional_param("profile_id",optional_param("profileid",$_SESSION['userid'],PARAM_INIT),PARAM_INT); 10 11 /* 8 12 9 13 if (isset($_REQUEST['profile_name'])) { … … 18 22 $profile_id = -1; 19 23 } 24 */ 20 25 21 26 global $page_owner; 22 27 23 $page_owner = $profile_id; 28 if (!isset($page_owner) || optional_param("profile_id",-9000,PARAM_INT) != -9000) { 29 $page_owner = $profile_id; 30 } 24 31 25 32 if (!defined('profileinit')) { devel/units/profile/main.php
r583 r585 4 4 5 5 // Profile initialisation 6 //$function['profile:init'][] = path . "units/profile/function_init.php";6 $function['profile:init'][] = path . "units/profile/function_init.php"; 7 7 // $function['profile:init'][] = path . "units/profile/function_editfield_defaults.php"; 8 8 $function['profile:init'][] = path . "units/profile/function_actions.php";
