logo       


mantisbt/core helper_api.php,1.73,1.74: msg#00025

Subject: mantisbt/core helper_api.php,1.73,1.74
Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28260

Modified Files:
        helper_api.php 
Log Message:
Fixed #8388: Undefined variable $p_this_var in helper_api.php

Index: helper_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/helper_api.php,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- helper_api.php      8 Sep 2007 23:21:00 -0000       1.73
+++ helper_api.php      22 Sep 2007 17:13:05 -0000      1.74
@@ -105,12 +105,12 @@
                if ( is_array( $p_var ) ) {
                        foreach( $p_var as $t_this_var ) {
                                # catch the case where one entry is 0 and the 
other is a string.
-                               if ( ( is_string( $p_this_var ) && !is_string( 
$p_val ) ) ) {
-                                       if ( $p_this_var === $p_val ) {
+                               if ( ( is_string( $t_this_var ) && !is_string( 
$p_val ) ) ) {
+                                       if ( $t_this_var === $p_val ) {
                                                PRINT ' selected="selected" ';
                                                return ;
                                        }
-                               } else if ( $p_this_var == $p_val ) {
+                               } else if ( $t_this_var == $p_val ) {
                                        PRINT ' selected="selected" ';
                                        return ; 
                                }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe