Skip to content

Commit

Permalink
make naming more in line of the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRAoW authored Oct 2, 2018
1 parent a830d08 commit c3716c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Parser/ItemTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ public function getValue()
}
break;
default:
$custTag = $feedItem->get_item_tags('',$this->tag);
if(!empty($custTag)) {
$value = $custTag[0]['data'];
$itemTag = $feedItem->get_item_tags('', $this->tag);

if(!empty($itemTag)) {
$value = $itemTag[0]['data'];
}
break;
}
Expand Down

0 comments on commit c3716c8

Please sign in to comment.