User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
$recordId = (int) isset($data[$key]) ? $data[$key] : 0; is parsed as ((int) isset($data[$key])) ? $data[$key] : 0, so the cast is applied to the boolean result of isset() and $recordId is the raw, uncast request value. It is changed to isset($data[$key]) ? (int) $data[$key] : 0.
Code review. Editing an existing weblink on the frontend works as before.
$recordId is an integer.
$recordId is the uncast value from $data.
None