From e5262646f02b503eb155932744cc030257ac008a Mon Sep 17 00:00:00 2001 From: danpros Date: Tue, 5 Dec 2023 09:48:02 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index f58c35f..519b95f 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1238,7 +1238,7 @@ function get_scheduledcount($var) $replaced = substr($arr[0], 0, strrpos($arr[0], '/')) . '/'; $str = explode('/', $replaced); - $cat = $str[count($str) - 5]; + $cat = $str[count($str) - 6]; if (stripos($cat, "$var") !== false) { $tmp[] = $v;