[pmwiki-users] possible bug in function DisableMarkup() ?
Skrol29forum
skrol29forum at gmail.com
Sun May 11 17:57:30 CDT 2008
Hello,
Between PmWiki versions 2.1.27 (that I have in production) and 2.2.0-beta65 (the last available), I have the same code for the function DisableMarkup(), see below. But is seems to me that there is a bug because $MarkupRules is not declared as global.
I am wrong ?
================
function DisableMarkup() {
global $MarkupTable;
$idlist = func_get_args();
unset($MarkupRules);
while (count($idlist)>0) {
$id = array_shift($idlist);
if (is_array($id)) { $idlist = array_merge($idlist, $id); continue; }
$MarkupTable[$id] = array('cmd' => 'none', 'pat'=>'');
}
}
================
Regards,
--------------------------
Skrol29
www.tinybutstrong.com
--------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080512/983449bc/attachment.html
More information about the pmwiki-users
mailing list