From 5030555a9773261363a3e90110b407be2890f2c7 Mon Sep 17 00:00:00 2001 From: make Date: Tue, 20 May 2025 19:25:34 +0800 Subject: [PATCH] debug-video-log --- code/app/services/VideoService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/app/services/VideoService.php b/code/app/services/VideoService.php index 479a55a..caf36cc 100644 --- a/code/app/services/VideoService.php +++ b/code/app/services/VideoService.php @@ -55,7 +55,7 @@ class VideoService 'strParentCategory' => !empty($strParentCategory) ? $strParentCategory : '', ]); - $strUrl = preg_replace('#/{2,}#', '/', $strUrl); + $strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl); return (string)$strUrl; } @@ -125,7 +125,7 @@ class VideoService 'intPage' => $intPage ?? 1, ]); - $strUrl = preg_replace('#/{2,}#', '/', $strUrl); + $strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl); return (string)$strUrl; } @@ -149,7 +149,7 @@ class VideoService 'intPage' => $intPage ?? 1, ]); - $strUrl = preg_replace('#/{2,}#', '/', $strUrl); + $strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl); return (string)$strUrl; }