diff --git a/include/impress_jrn.inc.php b/include/impress_jrn.inc.php
index 9a8de7c55..2c66b9b48 100644
--- a/include/impress_jrn.inc.php
+++ b/include/impress_jrn.inc.php
@@ -192,7 +192,7 @@ if ( isset( $_REQUEST['bt_html'] ) )
echo "
".$op['jr_pj_number']." | ";
- if ( $op['jr_id']!='')
+ if ( $op['internal']!='')
echo "".HtmlInput::detail_op($op['jr_id'],$op['internal'])." | ";
else
echo td();
@@ -234,7 +234,7 @@ if ( isset( $_REQUEST['bt_html'] ) )
echo "".$line['num']." | ";
echo "".$line['date']." | ";
echo "".h($line['jr_pj_number'])." | ";
- echo "".HtmlInput::detail_op($line['jr_id'],$line['jr_internal'])." | ";
+ echo "".(( $line['jr_internal'] != '')?HtmlInput::detail_op($line['jr_id'],$line['jr_internal']):"")." | ";
echo "".h($line['comment'])." | ";
// echo "".$line['pj']." | ";