Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13986
Modified Files:
bugnote_view_inc.php
Log Message:
Fixed 4829: bugnotes of deleted users cause error
Index: bugnote_view_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bugnote_view_inc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- bugnote_view_inc.php 5 Oct 2004 17:20:26 -0000 1.22
+++ bugnote_view_inc.php 22 Nov 2004 14:01:01 -0000 1.23
@@ -112,7 +112,8 @@
<tr class="bugnote" name="<?php echo $v3_id ?>" id="<?php echo $v3_id ?>">
<td class="<?php echo $t_bugnote_css ?>">
<span class="small">(<?php echo $t_bugnote_id_formatted
?>)</span><br />
- <?php if ( FALSE == user_get_field( $v3_reporter_id, 'enabled'
) ) {
+ <?php
+ if ( user_exists( $v3_reporter_id ) && ( FALSE ==
user_get_field( $v3_reporter_id, 'enabled' ) ) ) {
echo '<font STYLE="text-decoration:
line-through">';
} else {
echo '<font STYLE="text-decoration: none">';
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|