Project

General

Profile

Actions

Bug #8583

closed

CBuser usages returning null when object is expected

Added by krileon over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
15 June 2021
Due date:
% Done:

100%

Estimated time:

Description

Some usages are not setting the $allowNull parameter to false when their usages explicitly are expecting a CBuser object. This results in functions being called on NULL when the user id is 0, null, or the user doesn't exists. This then causes fatal errors.

Actions

Also available in: Atom PDF