R1:e9e2c954132c
R1:e9e2c954132c
Fix regression in PHUIObjectItemView.php:662: allow PhutilURI and other stringlike
Summary:
This fixes this specific exception that can happen with whatever PHP version in some pages:
Call to phutil_nonempty_string() expected null or a string, got: PhutilURI from PHUIObjectItemView.php:662
The regression was introduced since:
b56d86e48d0f63028cb5739c179d61ece2a24bb1
The problem is caused by the fact that we are trying to introduce very strict checks, and sometime we are too much strict.
In this…
Summary:
This fixes this specific exception that can happen with whatever PHP version in some pages:
Call to phutil_nonempty_string() expected null or a string, got: PhutilURI from PHUIObjectItemView.php:662
The regression was introduced since:
b56d86e48d0f63028cb5739c179d61ece2a24bb1
The problem is caused by the fact that we are trying to introduce very strict checks, and sometime we are too much strict.
In this…
Repository: R1 hydra
Commit Date: May 6 2023