Skip to content

Commit efb7165

Browse files
dev
1 parent ead3470 commit efb7165

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/CmsSeoComponent.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,9 @@ public function bootstrap($application)
972972

973973

974974
if ($replaces) {
975-
$response->data = strtr((string)$response->data, $replaces);
975+
if (is_string($response->data)) {
976+
$response->data = strtr((string)$response->data, $replaces);
977+
}
976978
}
977979

978980
});

0 commit comments

Comments
 (0)