mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
No need to use the exception either.
This commit is contained in:
@@ -269,7 +269,7 @@ class OutputsInstructions extends Command
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$random = random_int(0, count($lines) - 1);
|
$random = random_int(0, count($lines) - 1);
|
||||||
} catch (RandomException $e) {
|
} catch (RandomException) {
|
||||||
$random = 0;
|
$random = 0;
|
||||||
}
|
}
|
||||||
if ($addQuotes) {
|
if ($addQuotes) {
|
||||||
|
Reference in New Issue
Block a user