diff --git a/app/Http/Controllers/RuleController.php b/app/Http/Controllers/RuleController.php index 46e1d3f8ed..d3c64d1d82 100644 --- a/app/Http/Controllers/RuleController.php +++ b/app/Http/Controllers/RuleController.php @@ -523,7 +523,7 @@ class RuleController extends Controller $actions[] = view( 'rules.partials.action', [ - 'oldTrigger' => $entry->action_type, + 'oldAction' => $entry->action_type, 'oldValue' => $entry->action_value, 'oldChecked' => $entry->stop_processing, 'count' => $count, diff --git a/app/Support/Amount.php b/app/Support/Amount.php index f1b6247cf8..62ad0b4a6b 100644 --- a/app/Support/Amount.php +++ b/app/Support/Amount.php @@ -130,7 +130,7 @@ class Amount $result = $format->symbol . $space . $formatted; if (!$precedes) { - $result = $space . $formatted . $format->symbol; + $result = $formatted . $space . $format->symbol; } if ($coloured === true) { diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php index 9d9a575928..d9a4d9bc1b 100644 --- a/app/Support/Search/Search.php +++ b/app/Support/Search/Search.php @@ -236,7 +236,7 @@ class Search implements SearchInterface return false; } foreach ($needle as $what) { - if (strpos($haystack, $what) !== false) { + if (stripos($haystack, $what) !== false) { return true; } }