cvs: peardoc / make-partial.php

From: Date: Mon, 01 May 2006 13:33:17 +0000
Subject: cvs: peardoc / make-partial.php
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7856@lists.php.net to get a copy of this message
scottmattocks Mon May 1 13:33:17 2006 UTC Modified files: /peardoc make-partial.php Log: Fix for bug #7513: uninitialized var in make-partial.php http://cvs.php.net/viewcvs.cgi/peardoc/make-partial.php?r1=1.9&r2=1.10&diff_format=u Index: peardoc/make-partial.php diff -u peardoc/make-partial.php:1.9 peardoc/make-partial.php:1.10 --- peardoc/make-partial.php:1.9 Wed Sep 28 20:57:08 2005 +++ peardoc/make-partial.php Mon May 1 13:33:17 2006 @@ -12,7 +12,7 @@ * * @author Martin Jansen <mj@php.net> * @copyright 2005 The PEAR Group - * @version CVS: $Id: make-partial.php,v 1.9 2005/09/28 20:57:08 techtonik Exp $ + * @version CVS: $Id: make-partial.php,v 1.10 2006/05/01 13:33:17 scottmattocks Exp $ */ if (substr(PHP_VERSION, 0, 1) == "4") { @@ -84,6 +84,7 @@ * Loop through the file and build a new file depending on the users * choice. */ +$inPart = false; foreach ($file as $line) { // <part id="foo"> if (preg_match("/<part id=\"([a-z-]+)\">/", $line, $matches)) {

« previous php.pear.doc (#7856) next »