Skip to content

Commit

Permalink
Fixed false positive.
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianBeiner committed Aug 24, 2014
1 parent aeb3571 commit 2ae16aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/imdb.tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
echo '<p>Sites as URL: <b>' . $oIMDB->getSitesAsUrl('_blank') . '</b></p>';
echo '<p>Tagline: <b>' . $oIMDB->getTagline() . '</b></p>';
echo '<p>Title: <b>' . $oIMDB->getTitle() . '</b></p>';
if ($oIMDB->getTrailerAsUrl() != 'n/A') {
if ($oIMDB->getTrailerAsUrl() != $oIMDB->strNotFound) {
echo '<p>Trailer: <b><a href="' . $oIMDB->getTrailerAsUrl() . '">' . $oIMDB->getTrailerAsUrl() . '</a></b></p>';
}
else {
Expand Down

0 comments on commit 2ae16aa

Please sign in to comment.