Fix bug in getting place IDs by noda links

This commit is contained in:
Joshua Ramon Enslin 2020-10-05 12:05:48 +02:00 committed by Stefan Rohde-Enslin
parent 99aa1d74ad
commit 14e82826ae

View File

@ -150,7 +150,7 @@ final class NodaIDGetter {
*/
public static function getPlaceIDByNodaLink(MDMysqli $mysqli_noda, string $noda_source, string $noda_nrinsource):int {
if (empty($name)) return 0;
if (empty($noda_nrinsource)) return 0;
$placeByNodaResult = $mysqli_noda->query_by_stmt("
SELECT `ort_id`