HomePhorge

rP2da7594344c9

Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument

Summary:
This call was preventing notification servers configuration to be properly initialized.
Indeed, strlen() was used in Phabricator to check if a generic value is a non-empty string.
This behavior is deprecated since PHP 8.1. Phorge adopts phutil_nonempty_string() as a replacement.

Fix T15596

Test Plan:
Sign in as an administrator, configure the notification server without filling admin path field,
you shouldn't get an invalid…
Repository: rP Phorge
Committer: bob
Commit Date: Aug 10 2023