List Info

Thread: Re: mantisbt/core string_api.php, 1.87, 1.88




Re: mantisbt/core string_api.php, 1.87, 1.88
user name
2007-05-09 15:29:00
We should be using is_blank() instead of comparing to
"".

On 5/9/07, Paul Richards <prichardsusers.sourceforge.net>
wrote:
> Update of /cvsroot/mantisbt/mantisbt/core
> In directory sc8-pr-cvs16:/tmp/cvs-serv29788
>
> Modified Files:
>         string_api.php
> Log Message:
> Dont string_process_bug_link empty strings
>
> Index: string_api.php
>
============================================================
=======
> RCS file:
/cvsroot/mantisbt/mantisbt/core/string_api.php,v
> retrieving revision 1.87
> retrieving revision 1.88
> diff -u -d -r1.87 -r1.88
> --- string_api.php      8 May 2007 22:19:18 -0000      
1.87
> +++ string_api.php      9 May 2007 20:07:16 -0000      
1.88
>  -269,7 +269,7 
>         function string_process_bug_link( $p_string,
$p_include_anchor = true, $p_detail_info = true, $p_fqdn =
false ) {
>                 $t_tag = config_get( 'bug_link_tag' );
>                 # bail if the link tag is blank
> -               if ( '' == $t_tag ) {
> +               if ( '' == $t_tag || $p_string == '' )
{
>                         return $p_string;
>                 }
>
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> mantisbt-cvs mailing list
> mantisbt-cvslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mantisbt-c
vs
>

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
mantisbt-dev mailing list
mantisbt-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-d
ev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )