Commit cfbd6ae3 authored by S.Holzhauer's avatar S.Holzhauer

le fix

parent dc824891
......@@ -61,7 +61,6 @@ if ($ID == "IRPS001" ){
$result = $conn->query($sql);
if ($result === TRUE) {
$last_id = $conn->insert_id;
}
//see what accounts are connected to this elder.
$sql = "SELECT Account_AccountID FROM Account_has_AlleenstaandeOuder WHERE AlleenstaandeOuder_OuderID='$OuderID'";
......@@ -127,6 +126,7 @@ if ($ID == "IRPS001" ){
}
}
}
}
}
//if the ID is not null it comes from a camera and thus the status for the current event is updated.
if ($ID != NULL){
......
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