Przeglądaj źródła

fixed sql typo in api

import/raw
memespring 18 lat temu
rodzic
commit
38957d064c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      trunk/docs/include/application.php

+ 1
- 1
trunk/docs/include/application.php Wyświetl plik

@@ -107,7 +107,7 @@ require_once('DB.php');

function query($x,$y,$d) {
$db = DB::connect(DB_CONNECTION_STRING);
$sql = "select council_reference, address, postcode, description, info_url, comment_url, map_url, x, y, date_receive, full_name
$sql = "select council_reference, address, postcode, description, info_url, comment_url, map_url, x, y, date_recieved, full_name
from application
inner join authority on application.authority_id = authority.authority_id
where application.x > " . $db->quote($x - $d) . " and application.x < " . $db->quote($x + $d) .


Ładowanie…
Anuluj
Zapisz