From f06c58b148a6edd2b7c67c048bc87bbd03a3ab5d Mon Sep 17 00:00:00 2001 From: Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram Date: Sat, 21 Oct 2023 15:39:30 +0400 Subject: [PATCH] Fix Umm al Qura tuning --- api/Utils/PrayerTimesHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/Utils/PrayerTimesHelper.php b/api/Utils/PrayerTimesHelper.php index 0bdf024..53274e9 100644 --- a/api/Utils/PrayerTimesHelper.php +++ b/api/Utils/PrayerTimesHelper.php @@ -290,6 +290,8 @@ public static function applyMethodSpecificTuning(PrayerTimes $pt, ?array $tune, case Method::METHOD_MAKKAH: if (self::isRamadan($d, $adjustment)) { $pt->tune($tune[0], $tune[1], $tune[2], $tune[3], $tune[4], $tune[5], $tune[6], intval('30 min'), $tune[8]); + } else { + $pt->tune($tune[0], $tune[1], $tune[2], $tune[3], $tune[4], $tune[5], $tune[6], $tune[7], $tune[8]); } break; case Method::METHOD_DUBAI: