A free open source IT asset/license management system
Derp.
snipe2ce67e944349
diff --git a/app/Models/Setting.php b/app/Models/Setting.phpindex 2d112025f5..b57e62a15c 100755--- a/app/Models/Setting.php+++ b/app/Models/Setting.php@@ -48,16 +48,14 @@ class Setting extends Modelpublic static function getSettings(){static $static_cache = null;-+if (!$static_cache) {if (Schema::hasTable('settings')) {$static_cache = Setting::first();}}- return $static_cache;-- return false;+ return $static_cache;}