Fixing warning that can break uploads.
This commit is contained in:
@@ -858,8 +858,7 @@ function ewiki_script($asid="", $id=false, $params="", $bin=0, $html=1, $script=
|
||||
if (strlen($params)) {
|
||||
$url .= (strpos($url,"?")!==false ? "&":"?") . $params;
|
||||
}
|
||||
|
||||
#-- fin
|
||||
|
||||
#-- fin
|
||||
if ($html) {
|
||||
//Don't replace & if it's part of encoded character (bug 2209)
|
||||
@@ -1779,7 +1778,7 @@ function ewiki_format (
|
||||
unset($htmlentities["&"]);
|
||||
|
||||
#-- pre-processing plugins (working on wiki source)
|
||||
foreach ($pf_source as $pf) $pf(&$iii[0][0]);
|
||||
if ($pf_source = $ewiki_plugins["format_source"]) {
|
||||
foreach ($pf_source as $pf) $pf($iii[0][0]);
|
||||
}
|
||||
|
||||
@@ -2447,7 +2446,7 @@ function ewiki_link_regex_callback($uu, $force_noimg=0) {
|
||||
}
|
||||
}
|
||||
$align = array('', ' align="right"', ' align="left"', ' align="center"');
|
||||
$str = ($obj ? '<embed width="70%"' : '<img') . ' src="' . $href . '"' .
|
||||
$align = $align[$spaces_l + 2*$spaces_r];
|
||||
$str = ($obj ? '<embed width="70%"' : '<img') . ' src="' . $href . '"' .
|
||||
' alt="' . ($title) . '"' .
|
||||
(@$states["titled"] ? ' title="' . ($title) . '"' : '').
|
||||
|
||||
Reference in New Issue
Block a user