2
0
mirror of https://github.com/Znote/ZnoteAAC.git synced 2025-05-05 05:39:20 +02:00

house.php: Rebase house declaration with

Somehow managed to overwrite it with an old copy.
This commit is contained in:
Stefan A. Brannfjell 2019-09-28 09:32:01 +02:00 committed by GitHub
parent 56050fcb29
commit 27d7ce44eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,7 @@ if ($config['log_ip']) {
znote_visitor_insert_detailed_data(3);
}
$house = getValue($_GET['id']);
$house = (isset($_GET['id']) && (int)$_GET['id'] > 0) ? (int)$_GET['id'] : false;
if ($house !== false && $config['ServerEngine'] === 'TFS_10') {
$house_SQL = "SELECT `id`, `owner`, `paid`, `name`, `rent`, `town_id`, `size`, `beds`, `bid`, `bid_end`, `last_bid`, `highest_bidder` FROM `houses` WHERE `id`='$house';";