Commit a9a26973 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #10120 coersion to int not necessary. PHP does it automatically due to type hint.

parent f416e94d
Pipeline #3608 failed with stages
in 42 seconds
......@@ -302,7 +302,6 @@ class FormAsFile
public static function isFormOrFormElement(int $recordId, string $recordTable, Database $database)
$recordId = intval($recordId);
if ($recordId === 0) {
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment