mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-16 13:50:01 +01:00
[EBayBridge] fix undefined vars errors (#4175)
This commit is contained in:
parent
891c8979a3
commit
1a8d0fb8ab
@ -137,6 +137,8 @@ class EBayBridge extends BridgeAbstract
|
||||
. trim($additionalPrice ?? '')
|
||||
. '; ' . trim($discount ?? '')
|
||||
. ')</em>';
|
||||
} else {
|
||||
$discountLine = '';
|
||||
}
|
||||
|
||||
// Prepend the time-left info with a comma if the right details were found.
|
||||
@ -163,6 +165,8 @@ class EBayBridge extends BridgeAbstract
|
||||
// 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user