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']); ?>