From 8ff601352bff771f1252f5ab2cfee313e5b43ad8 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 22:51:59 -0500 Subject: [PATCH] added models to mooncalc.php --- app/Library/MoonCalc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/MoonCalc.php b/app/Library/MoonCalc.php index 0556e704b..88777d274 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -141,7 +141,7 @@ class MoonCalc { private function UpdateItemPricing() { //Get the configuration from the config table - $config = DB::table('Config')->get(); + $config = DB::table('Config')->first(); //Calculate refine rate $refineRate = $config->RefineRate / 100.00; //Calculate the current time