2024-04-25_09-17-49Z_Thursday database changed - and made errorcodes unique

This commit is contained in:
Ken Fallon 2024-04-25 11:17:49 +02:00
parent 5f46950fb3
commit a79d1f37e8
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ $status = strtotime("now") . ".EMAIL_LINK_CLICKED." . date('Y-m-d\TH:i:s\Z');
$query = "UPDATE reservations SET `verified` = '1', `status` = 'EMAIL_LINK_CLICKED' WHERE `ip` = '$db_ip' AND `timestamp` = '$db_timestamp' AND `key` = '$db_key'";
$result = mysqli_query($connection, $query );
if(!isset($result)) {
naughty("c7405e79b54f582e8db46c69ec4b0f24");
naughty("066c518314f0d3b1ad3e4af60fcf36ce");
}
// Display host information

View File

@ -255,7 +255,7 @@ logextra( "The shownotes txt file exists $shownote_file" );
$shownote_file_json = "${dir_structure}/shownotes.json";
if ( file_exists( $shownote_file_json ) ) {
naughty("a9564ebc3289b7a14551baf8ad5ec60a");
naughty("85c8df74d172794c49233c1a94c299fd");
}
logextra( "The shownotes json file exists $shownote_file_json" );
@ -430,7 +430,7 @@ if (mysqli_errno($connection)) {
}
logextra( "Updating the db to $show_submitted" );
if (!isset($result)) {
naughty("c7405e79b54f582e8db46c69ec4b0f24");
naughty("76ec33229ca023336a2b1c649b0491f5");
}
$body="give";