mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix undefined values in various modules
This commit is contained in:
parent
28de1335a7
commit
702eebaa92
6 changed files with 28 additions and 13 deletions
|
|
@ -574,7 +574,7 @@ function zgap($timestamp = null): int
|
|||
*/
|
||||
function ztime($str): ?int
|
||||
{
|
||||
$len = strlen($str);
|
||||
$len = strlen($str ?? '');
|
||||
if (!$len)
|
||||
{
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue