MantisBT: master-2.28 e2d7dcda

Author Committer Branch Timestamp Parent
dregad dregad master-2.28 2026-04-06 08:19 master-2.28 65c2dd3e
Affected Issues  0037005: user_get_row() does not throw exception when given invalid user id
Changeset

Fix record not found check in user_cache_row()

Using empty() instead of !isset(), so both false and null trigger the
exception.

Regression from 2cee661cbdf9bf607a75586b8376f74675c924af.

Fixes 0037005

mod - core/user_api.php Diff File