From 583c521dc302efc64bec1a3f64f74d3f9b3b9e80 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sat, 18 Nov 2017 20:50:55 +0100 Subject: [PATCH] fix: undefined index --- Templates/Notice/2.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Templates/Notice/2.tpl b/Templates/Notice/2.tpl index e7b02804..45d9f1e6 100644 --- a/Templates/Notice/2.tpl +++ b/Templates/Notice/2.tpl @@ -251,6 +251,9 @@ for($i=66;$i<=75;$i++) { } if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ if ($dataarray[150]==0){$tdclass1='class="none"';} + if (!isset($tdclass1)) { + $tdclass1 = ''; + } echo "$dataarray[150]"; } ?>