diff --git a/fp-plugins/bbcode/plugin.bbcode.php b/fp-plugins/bbcode/plugin.bbcode.php
index 5ac9b7a..f13b181 100644
--- a/fp-plugins/bbcode/plugin.bbcode.php
+++ b/fp-plugins/bbcode/plugin.bbcode.php
@@ -246,8 +246,8 @@ function do_bbcode_img ($action, $attributes, $content, $params, $node_object) {
$popup = apply_filters('bbcode_img_popup', $popup, $absolutepath);
- $popup_start = ($attributes['popup']=='true') ? '
- ' : '';
$popup_end = ($attributes['popup']=='true') ? '' : '';
@@ -267,7 +267,7 @@ function do_bbcode_img ($action, $attributes, $content, $params, $node_object) {
return $popup_start.'
'.$popup_end;
}