diff --git a/core/components/login/model/login/loginhooks.class.php b/core/components/login/model/login/loginhooks.class.php index 074f4f96..4fa7e644 100644 --- a/core/components/login/model/login/loginhooks.class.php +++ b/core/components/login/model/login/loginhooks.class.php @@ -411,7 +411,9 @@ public function email(array $fields = array()) { public function _process($str,array $placeholders = array()) { foreach ($placeholders as $k => $v) { - $str = str_replace('[[+'.$k.']]',$v,$str); + if (!is_object($v)) { + $str = str_replace('[[+'.$k.']]',$v,$str); + } } return $str; }