From 9acc31dd5ce79d8e0c524427ea670ff74bbf6313 Mon Sep 17 00:00:00 2001 From: James White Date: Thu, 19 May 2022 14:18:05 +0100 Subject: [PATCH] Add additional boolean helper for 'started' value --- src/helpers/BaseHelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/helpers/BaseHelper.php b/src/helpers/BaseHelper.php index 4120d297..05d0b930 100644 --- a/src/helpers/BaseHelper.php +++ b/src/helpers/BaseHelper.php @@ -52,6 +52,10 @@ public static function parseBoolean($value) if (strtolower($value) === Craft::t('feed-me', 'y')) { $result = true; } + + if (strtolower($value) === Craft::t('feed-me', 'started')) { + $result = true; + } if (strtolower($value) === Craft::t('feed-me', 'no')) {