X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fdisplay.inc;h=934e1915f6ee8f399cdd4b659bc49f2a0fe385d7;hb=fee499b9645a7e92231f225a61f10341b1e7384c;hp=1793463cab663bccc57d135c9497abd420807268;hpb=8f03b4aca1ae066a7fb03e4f5204682932091e08;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/display.inc b/wwwroot/inc/eventz/display.inc index 1793463..934e191 100644 --- a/wwwroot/inc/eventz/display.inc +++ b/wwwroot/inc/eventz/display.inc @@ -3,6 +3,7 @@ function display() { global $node,$db,$error,$referer_id,$smarty,$permissions,$template_id; global $timer_start; if (!$referer_id) $referer_id=1; + $content=''; $node_id=$node['node_id']; $user_id=$_SESSION['user_id']; @@ -265,7 +266,6 @@ if (!empty($_POST['template_event'])) { $_POST['offset']=$offset; // XXX sqli? $smarty->assign('offset',$offset); - if ($node['external_link']=='header://svg' && !is_numeric($template_id)) { header("Content-Type: image/svg+xml"); }