From 829181e3e8a68ced62f93d54032dd2d7cd1fa6dd Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 12 Oct 2019 22:21:48 -0500 Subject: [PATCH] lookups --- app/Library/Lookups/LookupHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 1cac19e..422b9db 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -724,7 +724,7 @@ class LookupHelper { if(isset($station->type_id)) { //Store the station details for the lookup table - $this->StoreStationLookup($station); + $this->SaveStation($station); //Return the details of the station return $station; } else { @@ -735,7 +735,7 @@ class LookupHelper { } } - private function LookupStation($id = null, $name = null) { + public function LookupStation($id = null, $name = null) { //if both the id and name are null, then there is nothing to look up if($id == null && $name == null) { return null;