Skip to content

Commit

Permalink
Update rex_nav_simple_html_dom.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w authored Oct 28, 2024
1 parent b45bacd commit 82daf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rex_nav_simple_html_dom.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ protected function parse_selector($selector_string) {
if (!empty($m[6])) {$val=$m[6];}

// convert to lowercase
if ($this->dom->lowercase) {$tag=strtolower($tag); $key=strtolower($key);}
if ($this->dom->lowercase) {$tag=strtolower($tag); $key=strtolower((string)$key);}
//elements that do NOT have the specified attribute
if (isset($key[0]) && $key[0]==='!') {$key=substr($key, 1); $no_key=true;}

Expand Down

0 comments on commit 82daf87

Please sign in to comment.