is_int() check is too aggressive because Drupal returns uid as string

Created on 26 May 2024, 7 months ago
Updated 9 June 2024, 7 months ago

Problem/Motivation

Using is_int() to check if getOwnerId is set is too aggressive because Drupal can return a string for the number.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇵Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024