[mythtv-commits] Ticket #1380: Mythweb warning since Changset 9128 (0.19 release branch)

MythTV mythtv at cvs.mythtv.org
Fri Feb 24 07:29:24 UTC 2006


#1380: Mythweb warning since Changset 9128 (0.19 release branch)
----------------------+-----------------------------------------------------
 Reporter:  kallelix  |       Owner:  xris
     Type:  defect    |      Status:  new 
 Priority:  minor     |   Milestone:      
Component:  mythweb   |     Version:      
 Severity:  medium    |  
----------------------+-----------------------------------------------------
 This fixes a problem in Mythweb since changeset 9128 of the 0.19 stable
 branche.

 {{{
 Index: init.php
 ===================================================================
 --- init.php    (Revision 9132)
 +++ init.php    (Arbeitskopie)
 @@ -21,7 +21,7 @@
      if (!empty($keys)) {
          foreach ($keys as $key) {
              $key = substr($key, 9);
 -            if (!array_key_exists($_SERVER[$key]))
 +            if (!array_key_exists($key,$_SERVER))
                  $_SERVER[$key] = $_SERVER["REDIRECT_$key"];
          }
      }
 }}}


 I don't know if there are any php version conflicts, so here is the output
 of "php --version":

 {{{
 PHP 4.4.0-pl1-gentoo (cli) (built: Jan 19 2006 13:25:27)
 Copyright (c) 1997-2004 The PHP Group
 Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1380>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list