mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Import statements and update configuration.
This commit is contained in:
		| @@ -28,6 +28,7 @@ use Carbon\Carbon; | ||||
| use Carbon\Exceptions\InvalidDateException; | ||||
| use FireflyIII\Repositories\Account\AccountRepositoryInterface; | ||||
| use Illuminate\Support\MessageBag; | ||||
| use Throwable; | ||||
| 
 | ||||
| /** | ||||
|  * Trait FormSupport | ||||
| @@ -46,7 +47,7 @@ trait FormSupport | ||||
| 
 | ||||
|         try { | ||||
|             $html = view('form.multi-select', compact('classes', 'name', 'label', 'selected', 'options', 'list'))->render(); | ||||
|         } catch (\Throwable $e) { | ||||
|         } catch (Throwable $e) { | ||||
|             app('log')->debug(sprintf('Could not render multi-select(): %s', $e->getMessage())); | ||||
|             $html = 'Could not render multi-select.'; | ||||
|         } | ||||
| @@ -131,7 +132,7 @@ trait FormSupport | ||||
| 
 | ||||
|         try { | ||||
|             $html = view('form.select', compact('classes', 'name', 'label', 'selected', 'options', 'list'))->render(); | ||||
|         } catch (\Throwable $e) { | ||||
|         } catch (Throwable $e) { | ||||
|             app('log')->debug(sprintf('Could not render select(): %s', $e->getMessage())); | ||||
|             $html = 'Could not render select.'; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user