From 61aa31adda46e287e46140a7c6c52ec532eef49f Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Sun, 1 Jan 2023 19:58:05 +0100 Subject: [PATCH] check with empty --- proj/YT2P/handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proj/YT2P/handler.php b/proj/YT2P/handler.php index 1d16342..dcce7d2 100644 --- a/proj/YT2P/handler.php +++ b/proj/YT2P/handler.php @@ -21,8 +21,8 @@ $cmd = "python3 y2t.py " . $url . " " . $lang ; exec($cmd, $output, $return); - echo "

Debug strel(output):"; - echo strlen($output); + echo "

Debug empty(output):"; + echo empty($output); echo "

"; if (strlen($output) > 0) {