fix koview - array was a string
This commit is contained in:
37
.vscode/launch.json
vendored
Normal file
37
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "chrome",
|
||||
"request": "attach",
|
||||
"name": "Attach to Chrome",
|
||||
"port": 9222,
|
||||
"webRoot": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"name": "Listen for XDebug",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"port": 9009,
|
||||
"hostname": "0.0.0.0",
|
||||
"stopOnEntry": true,
|
||||
"log": true,
|
||||
"pathMappings":
|
||||
{
|
||||
"/var/www/kt.wsl/html": "${workspaceRoot}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Launch currently open script",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"cwd": "${fileDirname}",
|
||||
"hostname": "0.0.0.0",
|
||||
"port": 9009
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -53,7 +53,7 @@ $result = $link->query($query);
|
||||
$participant = $result->fetch_all(MYSQLI_ASSOC);;
|
||||
|
||||
//var_dump($participant);
|
||||
$encounter = '';
|
||||
$encounter = [];
|
||||
|
||||
//Berechne, ab welche Begegnung es Teilnehmer gibt
|
||||
$firstEncounter = isset($participant[0]['begegnung']) ? intval($participant[0]['begegnung']) : 1;
|
||||
|
||||
Reference in New Issue
Block a user