From ddb8ddaacfb60bacec70df41ac2b470d32a09caf Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Mon, 29 Aug 2022 15:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=8A=20Code=20for=20bug=20#26984.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/story/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 0d2b6cf323..3738b5dd92 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -329,7 +329,7 @@ class story extends control $keywords = $oldBug->keywords; $spec = $oldBug->steps; $pri = !empty($oldBug->pri) ? $oldBug->pri : '3'; - if(strpos($oldBug->mailto, $oldBug->openedBy) === false) + if(strpos((string)$oldBug->mailto, $oldBug->openedBy) === false) { $mailto = $oldBug->mailto . $oldBug->openedBy . ','; }