Skip to content

Commit

Permalink
last fixes for remaining warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SebLaus committed Nov 1, 2023
1 parent 53f10ce commit caafc0e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bridges/IdealoBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ public function collectData()

// Only continue if a price has changed
if ($PriceNew != $OldPriceNew || $PriceUsed != $OldPriceUsed) {

// Get Product Image
$image = $html->find('.datasheet-cover-image',0)->src;
$image = $html->find('.datasheet-cover-image', 0)->src;

// Generate Content
if ($PriceNew > 1) {
Expand Down Expand Up @@ -135,8 +134,10 @@ public function collectData()
// General Priceupdate
if ($this->getInput('MaxPriceUsed') == '' && $this->getInput('MaxPriceNew') == '') {
// check if a relevant pricechange happened
if ((!$this->getInput('ExcludeNew') && $PriceNew != $OldPriceNew ) ||
(!$this->getInput('ExcludeUsed') && $PriceUsed != $OldPriceUsed )) {
if (
(!$this->getInput('ExcludeNew') && $PriceNew != $OldPriceNew ) ||
(!$this->getInput('ExcludeUsed') && $PriceUsed != $OldPriceUsed )
) {
$title .= 'Priceupdate! ';

if (!$this->getInput('ExcludeNew')) {
Expand Down

0 comments on commit caafc0e

Please sign in to comment.