logo       
Google Custom Search
    AddThis Social Bookmark Button

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

mantisbt bugnote_view_inc.php,1.22,1.23: msg#00030

Subject: mantisbt bugnote_view_inc.php,1.22,1.23
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 ...
<Prev in Thread] Current Thread [Next in Thread>