General cleanup of file locations
This commit is contained in:
@@ -231,6 +231,9 @@ logextra( "Found this reservation from the db" );
|
||||
|
||||
if ( ( $db["profile"] != "$host_profile" ) or ( $db["license"] != "$host_license" ) ) {
|
||||
logextra("The host_license is different to that in the db");
|
||||
$host_profile = mysqli_real_escape_string( $connection, $host_profile );
|
||||
$host_license = mysqli_real_escape_string( $connection, $host_license );
|
||||
|
||||
$query = "UPDATE `hosts` SET `profile` = '$host_profile', `license` = '$host_license' WHERE `hosts`.`hostid` = '$hostid';";
|
||||
$result = mysqli_query($connection, $query );
|
||||
if (!isset($result)) {
|
||||
|
Reference in New Issue
Block a user