Skip to content

Commit

Permalink
A fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anvmn committed Oct 21, 2024
1 parent e0d8820 commit edcf4b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function hedley_user_user_presave(&$edit, $account, $category) {
return;
}

$decoded = json_decode($edit['field_incident_details'][LANGUAGE_NONE][0]['value'], TRUE);
$decoded = json_decode($edit['field_incident_details'][LANGUAGE_NONE][0]['value']);
$entities_data = array_reverse($decoded);
foreach ($entities_data as $data) {
$nid = hedley_restful_resolve_nid_for_uuid($data->uuid);
Expand Down

0 comments on commit edcf4b7

Please sign in to comment.