#25742 [Opn->Bgs]: smth bad with pear or php

From: Date: Wed, 01 Sep 2004 14:20:41 +0000
Subject: #25742 [Opn->Bgs]: smth bad with pear or php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33154@lists.php.net to get a copy of this message
ID: 25742 Updated by: alan_k@php.net Reported By: creator at sacura dot net -Status: Open +Status: Bogus Bug Type: PEAR related Operating System: windows 2000 PHP Version: 4.3.3 New Comment: can you move this on pear.php.net - none of the pear maintainers read bugs.php.net and it more likely the package maintainer will be able to help. Previous Comments: ------------------------------------------------------------------------ [2003-10-10 07:50:29] cynic@php.net disregard the last followup, please. I'm looking into the problem. ------------------------------------------------------------------------ [2003-10-10 07:47:34] cynic@php.net does this patch (warning, will be crippled by the textarea) solve your problem? Index: HTML_Template_IT/IT.php =================================================================== RCS file: /repository/pear/HTML_Template_IT/IT.php,v retrieving revision 1.6 diff -u -u -r1.6 IT.php --- HTML_Template_IT/IT.php 12 Mar 2003 02:25:16 -0000 1.6 +++ HTML_Template_IT/IT.php 10 Oct 2003 11:48:59 -0000 @@ -555,7 +555,7 @@ } - if (!$flag_recursion && 0 != count($values)) { + if (!$flag_recursion && 0 != count($values) && 0 != count($regs)) { if ($this->_options['use_preg']) { $regs = array_map(array( &$this, '_addPregDelimiters'), ------------------------------------------------------------------------ [2003-10-10 07:25:07] creator at sacura dot net variable $regs is clean ------------------------------------------------------------------------ [2003-10-08 07:15:38] cynic@php.net updating status... ------------------------------------------------------------------------ [2003-10-08 07:14:50] cynic@php.net what does $regs contain when you get this error? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25742 -- Edit this bug report at http://bugs.php.net/?id=25742&edit=1

« previous php.pear.dev (#33154) next »