Skip to content

Commit

Permalink
fix for syntax bug
Browse files Browse the repository at this point in the history
;
  • Loading branch information
padams committed Jan 24, 2022
1 parent 148e49f commit 4ec27fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owa_httpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function extract_anchor($link) {
// $match[2] = link address
// $match[3] = link text

if (isset($match[3] && $link === $match[3] ) ) {
if ($match[3] && $link === $match[3] ) {
$this->anchor_info = array('anchor_tag' => match[0], 'anchor_text' => owa_lib::inputFilter($match[3]));
owa_coreAPI::debug('Anchor info: '.print_r($this->anchor_info, true));
}
Expand Down

0 comments on commit 4ec27fb

Please sign in to comment.