From 2970878224167f29571b15f69c64131ebcc4e08f Mon Sep 17 00:00:00 2001 From: Kevin Abel <kevin.abel.0@gmail.com> Date: Wed, 4 Mar 2015 17:43:03 -0600 Subject: [PATCH] Use the building code for abbrev, if no abbrev exists --- src/UNL/TourMap/BuildingData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UNL/TourMap/BuildingData.php b/src/UNL/TourMap/BuildingData.php index 043d4d26..99e9cda9 100644 --- a/src/UNL/TourMap/BuildingData.php +++ b/src/UNL/TourMap/BuildingData.php @@ -98,7 +98,7 @@ class UNL_TourMap_BuildingData try { $inStmt->execute(array( - $line[1], + empty($line[1]) ? $line[0] : $line[1], $line[2], $line[4], $line[0], -- GitLab