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

From: Date: Fri, 10 Oct 2003 11:50:29 +0000
Subject: #25742 [Fbk->Opn]: smth bad with pear or php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22556@lists.php.net to get a copy of this message
ID: 25742 Updated by: cynic@php.net Reported By: creator at sacura dot net -Status: Feedback +Status: Open Bug Type: PEAR related Operating System: windows 2000 PHP Version: 4.3.3 New Comment: disregard the last followup, please. I'm looking into the problem. Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2003-10-06 04:07:54] creator at sacura dot net In submission "expected result" and "actual result" must be swaped. ------------------------------------------------------------------------ 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 (#22556) next »