fix zero key validation

This commit is contained in:
ghost 2023-11-17 12:21:03 +02:00
parent 7c589d70cd
commit 610dcefff8

View File

@ -93,7 +93,7 @@ foreach (
)
) as $piece)
{
if (empty($piece->key) || empty($piece->value))
if (!isset($piece->key) || !isset($piece->value))
{
exit(
'please wait for all pieces sending complete!'