Skip to content

Commit

Permalink
fixing syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Jan 25, 2022
1 parent 197c8a9 commit 9a8b3de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions owa_httpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function extractAnchors() {

owa_coreAPI::debug( 'Found anchors: ' . print_r( $matches, true ) );

return $matches
return $matches;
}
}

Expand All @@ -112,7 +112,8 @@ function extractAnchorText( $url ) {

$anchortext = '';

foreach( $anchors as $match) {
foreach( $anchors as $match ) {

// match[0] = full matching <a> tag
// $match[2] = link address
// $match[3] = link text
Expand Down

0 comments on commit 9a8b3de

Please sign in to comment.