Skip to content

Commit ba2a717

Browse files
committed
Fix compatibility with PHP 7.4
1 parent bb14c8f commit ba2a717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FlexiPeeHP/FlexiBeeRO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ public static function flexiUrl(array $data, $joiner = 'and', $defop = 'eq')
19631963
public function getRecordID()
19641964
{
19651965
$id = $this->getDataValue('id');
1966-
return is_null($id) ? null : is_numeric($id) ? intval($id) : $id;
1966+
return is_null($id) ? null : (is_numeric($id) ? intval($id) : $id);
19671967
}
19681968

19691969
/**

0 commit comments

Comments
 (0)