summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-06-12 16:39:43 +0100
committerAnika Henke <anika@selfthinker.org>2010-06-12 16:39:43 +0100
commita0b3ecb91b6aa4b2d0c7302bbfaeb9428621cc2a (patch)
tree7656785d824281b7dd6e9a4cc2a7b1148db43731 /inc
parent5ab78106b0f9170d5e4930d0901862e4373a686f (diff)
downloadrpg-a0b3ecb91b6aa4b2d0c7302bbfaeb9428621cc2a.tar.gz
rpg-a0b3ecb91b6aa4b2d0c7302bbfaeb9428621cc2a.tar.bz2
fixed license link always showing target
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index c1e3e76ab..85fdb67cf 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1312,7 +1312,7 @@ function tpl_license($img='badge',$imgonly=false,$return=false){
if(!$imgonly) {
$out .= $lang['license'];
$out .= '<a href="'.$lic['url'].'" rel="license" class="urlextern"';
- if(isset($conf['target']['extern'])) $out .= ' target="'.$conf['target']['extern'].'"';
+ if($conf['target']['extern']) $out .= ' target="'.$conf['target']['extern'].'"';
$out .= '>'.$lic['name'].'</a>';
}
$out .= '</div>';