From 055b15333e097c7cb9f47d41a0a7a58b991fe016 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 17 Aug 2023 13:16:00 +0300 Subject: [PATCH] fix variable name --- src/cli/yggo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/yggo.php b/src/cli/yggo.php index 82c0829..792e07f 100644 --- a/src/cli/yggo.php +++ b/src/cli/yggo.php @@ -543,7 +543,7 @@ if (!empty($argv[1])) { foreach ($selectorTarget->childNodes as $node) { - $value = trim($element->ownerDocument->saveHtml()); + $value = trim($node->ownerDocument->saveHtml()); if (empty($value)) {