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 . ','; }