From bd221faf886b2ab7c9653adc78f901615d98dc54 Mon Sep 17 00:00:00 2001 From: Christoph Tank Date: Tue, 15 Oct 2019 00:17:00 +0200 Subject: [PATCH] ~ Fix last errors --- include/thw.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/thw.php b/include/thw.php index de0afaf..6cf1f7c 100644 --- a/include/thw.php +++ b/include/thw.php @@ -50,8 +50,8 @@ if ($result->num_rows > 0) { query("SELECT `name` FROM `thw_einheit` WHERE id = " . $frow['Einheit']); - $result = $einheit->fetch_array(); - echo ($result['name']); + $results = $einheit->fetch_array(); + echo ($results['name']); ?>