Skip to content

Commit

Permalink
don't use isset here
Browse files Browse the repository at this point in the history
  • Loading branch information
slankes committed Nov 7, 2008
1 parent 712ebab commit 8c09f0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bot.php
Expand Up @@ -13,7 +13,7 @@
<tr valign="MIDDLE">
<td width="100%">
<?php
if ( isset( $t_footer_sponsored_links ) ) {
if ( !empty( $t_footer_sponsored_links ) ) {
echo '<p align="right">Partner Links: ' . $t_footer_sponsored_links, '</p>';
}
?>
Expand Down
3 changes: 1 addition & 2 deletions credits.php
Expand Up @@ -33,8 +33,7 @@
<?php
include( 'adsense_vertical_inc.php' );

$t_footer_sponsored_links = '
';
$t_footer_sponsored_links = false;

include( "bot.php" );
?>

0 comments on commit 8c09f0d

Please sign in to comment.