cvs: pear /Text_Wiki/Text Wiki.php
| From: | Paul Jones | Date: | Sat, 26 Jun 2004 00:12:04 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text Wiki.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21134@lists.php.net to get a copy of this message | ||
pmjones Fri Jun 25 20:12:04 2004 EDT
Modified files:
/pear/Text_Wiki/Text Wiki.php
Log:
fixed bug 1722 (can't use two instances of Text_Wiki)
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki.php?r1=1.12&r2=1.13&ty=u
Index: pear/Text_Wiki/Text/Wiki.php
diff -u pear/Text_Wiki/Text/Wiki.php:1.12 pear/Text_Wiki/Text/Wiki.php:1.13
--- pear/Text_Wiki/Text/Wiki.php:1.12 Sat Jun 19 12:02:12 2004
+++ pear/Text_Wiki/Text/Wiki.php Fri Jun 25 20:12:04 2004
@@ -19,7 +19,7 @@
* This is the "master" class for handling the management and convenience
* functions to transform Wiki-formatted text.
*
-* $Id: Wiki.php,v 1.12 2004/06/19 16:02:12 pmjones Exp $
+* $Id: Wiki.php,v 1.13 2004/06/26 00:12:04 pmjones Exp $
*
* @author Paul M. Jones <pmjones@ciaweb.net>
*
@@ -1070,13 +1070,15 @@
if ($loc) {
// found the class
include_once $loc;
- $this->parseObj[$rule] =& new $class($this);
} else {
// can't find the class
$this->parseObj[$rule] = null;
return false;
}
}
+
+ $this->parseObj[$rule] =& new $class($this);
+
}