From: Erik Moeller Date: Sat, 10 Apr 2004 10:46:17 +0000 (+0000) Subject: fix notice X-Git-Tag: 1.3.0beta1~477 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f3eaad894c30343ce247b6d0b6e2f0ef6ada52b1;p=lhc%2Fweb%2Fwiklou.git fix notice --- diff --git a/includes/Parser.php b/includes/Parser.php index d5e57bdd31..5d0aa976a2 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -666,7 +666,7 @@ class Parser $state["em"] = $token["pos"]; } else { # not $em and not $strong $s .= ""; - $state["strong"] = $state["em"] = $token["pos"]; + $state["strong"] = $state["em"] = isset($token["pos"]) ? $token["pos"] : true; } return $s; }