Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1380 closed defect (fixed)

Mythweb warning since Changset 9128 (0.19 release branch)

Reported by: kallelix Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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

Change History (2)

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [9133]) fix typo to close #1380

comment:2 Changed 14 years ago by xris

(In [9134]) merge [9133] from trunk, re #1380

Note: See TracTickets for help on using tickets.