Skip to content

Commit

Permalink
[EBayBridge] fix undefined vars errors (#4175)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotsoanoNimus authored Jul 31, 2024
1 parent 891c897 commit 1a8d0fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bridges/EBayBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ public function collectData()
. trim($additionalPrice ?? '')
. '; ' . trim($discount ?? '')
. ')</em>';
} else {
$discountLine = '';
}

// Prepend the time-left info with a comma if the right details were found.
Expand All @@ -163,6 +165,8 @@ public function collectData()
// Include the original search link, if specified.
if ($this->getInput('includesSearchLink')) {
$searchLink = '<p><small><a target="_blank" href="' . e($this->getURI()) . '">View Search</a></small></p>';
} else {
$searchLink = '';
}

// Build the final item's content to display and add the item onto the list.
Expand Down

0 comments on commit 1a8d0fb

Please sign in to comment.