$profile_id = $this->params['named']['profile_id'];
if (empty($this->data)) {
- $this->data['clearCache'] = array(
- 'character_id' => $id,
- 'user_id' => $this->user_id,
- 'system_id' => $character['System']['id'],
- );
-
$target = array();
foreach ($character['System']['Profile'] as $profile) {
if ($profile['id'] == $profile_id) {
}
if (!empty($this->data)) {
+ $this->data['clearCache'] = array(
+ 'character_id' => $id,
+ 'user_id' => $this->user_id,
+ 'system_id' => $character['System']['id'],
+ );
+
$this->post_data = $this->data;
$this->data['Character'] = array_merge($character['Character'], $this->data['Character']);
'CharactersHasProfile.id',
'CharactersHasProfile.character_id',
'CharactersHasProfile.profile_table_id',
+ 'CharactersHasProfile.profile_table_static_id',
'CharactersHasProfile.value',
'CharactersHasProfile.public_flag',
'CharactersHasProfile.link_value',
if (empty($characters_has_profiles)) {
return null;
}
+
if (isset($characters_has_profiles[0]['ProfileTableStatic'])) {
$statics = $characters_has_profiles[0]['ProfileTableStatic'];
}
} else {
$publicOnly = true;
}
-
if (isset($profile['id'])) {
$tableId = 'TableProfileId'. $profile['id'];