2024-04-25_09-17-49Z_Thursday database changed - and made errorcodes unique
This commit is contained in:
parent
5f46950fb3
commit
a79d1f37e8
@ -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'";
|
$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 );
|
$result = mysqli_query($connection, $query );
|
||||||
if(!isset($result)) {
|
if(!isset($result)) {
|
||||||
naughty("c7405e79b54f582e8db46c69ec4b0f24");
|
naughty("066c518314f0d3b1ad3e4af60fcf36ce");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display host information
|
// Display host information
|
||||||
|
@ -255,7 +255,7 @@ logextra( "The shownotes txt file exists $shownote_file" );
|
|||||||
|
|
||||||
$shownote_file_json = "${dir_structure}/shownotes.json";
|
$shownote_file_json = "${dir_structure}/shownotes.json";
|
||||||
if ( file_exists( $shownote_file_json ) ) {
|
if ( file_exists( $shownote_file_json ) ) {
|
||||||
naughty("a9564ebc3289b7a14551baf8ad5ec60a");
|
naughty("85c8df74d172794c49233c1a94c299fd");
|
||||||
}
|
}
|
||||||
logextra( "The shownotes json file exists $shownote_file_json" );
|
logextra( "The shownotes json file exists $shownote_file_json" );
|
||||||
|
|
||||||
@ -430,7 +430,7 @@ if (mysqli_errno($connection)) {
|
|||||||
}
|
}
|
||||||
logextra( "Updating the db to $show_submitted" );
|
logextra( "Updating the db to $show_submitted" );
|
||||||
if (!isset($result)) {
|
if (!isset($result)) {
|
||||||
naughty("c7405e79b54f582e8db46c69ec4b0f24");
|
naughty("76ec33229ca023336a2b1c649b0491f5");
|
||||||
}
|
}
|
||||||
|
|
||||||
$body="give";
|
$body="give";
|
||||||
|
Loading…
Reference in New Issue
Block a user