isset returns false if the variable is set but null. (afc7318cf7)
This commit is contained in:
FbIN Support 2026-02-07 14:47:23 +05:30
commit c5f59aaeb9

View file

@ -13,7 +13,7 @@ class fuckhtml{
if(is_array($html)){
if(!isset($html["innerHTML"])){
if(!array_key_exists("innerHTML", $html)){
throw new Exception("(load) Supplied array doesn't contain an innerHTML index");
}
@ -339,7 +339,7 @@ class fuckhtml{
if(is_array($html)){
if(!isset($html["innerHTML"])){
if(!array_key_exists("innerHTML", $html)){
throw new Exception("(getTextContent) Supplied array doesn't contain an innerHTML index");
}