PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Text » Text_Wiki » Bug #2419

getParseConf returns null if rule exists

Details

Submitted2004-09-30 12:47 UTC
Fromc dot weyland at gmx dot de
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2004-09-30 12:47 UTC] c dot weyland at gmx dot de

Description:
------------
an exclamation mark is missing in front of the isset function in Wiki.php on line 406.

existing rules are never returned.

Reproduce code:
---------------
$Id: Wiki.php,v 1.18 2004/09/19 21:31:50

wrong:

# // the rule does not exist
# if (isset($this->parseConf[$rule])) {
# return null;
# }

right:

# // the rule does not exist
# if (!isset($this->parseConf[$rule])) {
# return null;
# }