php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21940 HTML_Template_PHPLIB Undefined Notice...
Submitted: 2003-01-29 07:18 UTC Modified: 2003-02-01 03:41 UTC
From: x4com at web dot de Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
 [2003-01-29 07:18 UTC] x4com at web dot de
Hello,

I get this error back under "error_reporting (E_ALL);":

Notice: Undefined index: outputs_table_tpl_handle in [...]/class_template.php on line 359

The Line 359 is:

[...]
    function getVar($varname)
    {
        if (!is_array($varname)) {
            return $this->_varVals[$varname]; // THE LINE 359
        } else {
            reset($varname);
    
            while (list($k, $v) = each($varname)) {
                $result[$k] = $this->_varVals[$k];
            }

            return $result;
        }
    }
[...]

Please Fix this Bug, Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-01 03:41 UTC] mj@php.net
This bug has been fixed in CVS. The fix will be part of the next upcoming release.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC