mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
house.php: Rebase house declaration with #359
Somehow managed to overwrite it with an old copy.
This commit is contained in:
parent
56050fcb29
commit
27d7ce44eb
@ -3,7 +3,7 @@ if ($config['log_ip']) {
|
|||||||
znote_visitor_insert_detailed_data(3);
|
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') {
|
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';";
|
$house_SQL = "SELECT `id`, `owner`, `paid`, `name`, `rent`, `town_id`, `size`, `beds`, `bid`, `bid_end`, `last_bid`, `highest_bidder` FROM `houses` WHERE `id`='$house';";
|
||||||
@ -260,4 +260,4 @@ if ($house !== false && $config['ServerEngine'] === 'TFS_10') {
|
|||||||
<p>Go back to the <a href="houses.php">house list</a> and select a house for further details.</p>
|
<p>Go back to the <a href="houses.php">house list</a> and select a house for further details.</p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
include 'layout/overall/footer.php'; ?>
|
include 'layout/overall/footer.php'; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user