Use integers for geonames and TGN IDs
This commit is contained in:
parent
93cd09ed23
commit
20f609f6d0
@ -1147,7 +1147,7 @@ final class NodaWikidataFetcher {
|
||||
$updateStmt = $this->_mysqli_noda->do_prepare("UPDATE `orte`
|
||||
SET `ort_land` = ?
|
||||
WHERE `ort_id` = ?");
|
||||
$updateStmt->bind_param("si", $tgn_id, $onum);
|
||||
$updateStmt->bind_param("ii", $tgn_id, $onum);
|
||||
$updateStmt->execute();
|
||||
$updateStmt->close();
|
||||
unset($updateStmt);
|
||||
@ -1158,7 +1158,7 @@ final class NodaWikidataFetcher {
|
||||
$updateStmt = $this->_mysqli_noda->do_prepare("UPDATE `orte`
|
||||
SET `ort_geonames` = ?
|
||||
WHERE `ort_id` = ?");
|
||||
$updateStmt->bind_param("si", $geonames_id, $onum);
|
||||
$updateStmt->bind_param("ii", $geonames_id, $onum);
|
||||
$updateStmt->execute();
|
||||
$updateStmt->close();
|
||||
unset($updateStmt);
|
||||
|
Loading…
Reference in New Issue
Block a user