Commit e305c9bb authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Disable article jump for events

parent 6a79b9a3
......@@ -210,7 +210,6 @@ else
}
echo $hh->input_article("article_related","id_article","'/articles/popup_search.php?w=event&id_article='+document.forms['form1'].id_article.value+'&id_topic=$article_topic'",$row['id_article'],$headline,$article_topic,$input_right);
echo $hh->input_checkbox("jump_to_article","jump_to_article",$row['jump_to_article'],0,$input_right);
echo $hh->input_separator("administration");
if($id>0)
......
......@@ -227,7 +227,7 @@ class Cache
if($row['allday']) {
$e->allDay = true;
}
if($row['jump_to_article']=="1" && $row['id_article']>0) {
if($row['id_article']>0) {
include_once(SERVER_ROOT."/../classes/topic.php");
include_once(SERVER_ROOT."/../classes/article.php");
$a = new Article($row['id_article']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment