cvs: pearweb /public_html/bugs bug.php

From: Date: Mon, 10 Dec 2007 18:56:02 +0000
Subject: cvs: pearweb /public_html/bugs bug.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-49704@lists.php.net to get a copy of this message
dufuz Mon Dec 10 18:56:02 2007 UTC Modified files: /pearweb/public_html/bugs bug.php Log: only output the assigned user url if there is someone actually assigned http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.179&r2=1.180&diff_format=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.179 pearweb/public_html/bugs/bug.php:1.180 --- pearweb/public_html/bugs/bug.php:1.179 Mon Dec 10 01:35:56 2007 +++ pearweb/public_html/bugs/bug.php Mon Dec 10 18:56:02 2007 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: bug.php,v 1.179 2007/12/10 01:35:56 dufuz Exp $ + * @version $Id: bug.php,v 1.180 2007/12/10 18:56:02 dufuz Exp $ */ /* @@ -637,8 +637,10 @@ ?></td> <th class="details">Assigned:</th> <td><?php - $assigned_user = htmlspecialchars($bug['assign']); - echo '<a href="/user/' . $assigned_user . '">' . $assigned_user . '</a>'; + if (!empty($bug['assign'])) { + $assigned_user = htmlspecialchars($bug['assign']); + echo '<a href="/user/' . $assigned_user . '">' . $assigned_user . '</a>'; + } ?></td> </tr> <tr id="categorization">

« previous php.pear.cvs (#49704) next »