Skip to content

Commit c61dc7f

Browse files
author
Vinlock
committed
Code Adjustments
1 parent 4daece9 commit c61dc7f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/StreamObjects/HitboxObject.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,13 @@ public function smallPreview() {
8989
* @return string
9090
*/
9191
public function status() {
92-
$status = $this->stream['media_status'];
93-
$status = htmlspecialchars($status);
94-
$status = html_entity_decode($status, ENT_QUOTES);
95-
$status = preg_replace("/\r|\n/", "", $status);
92+
$status = preg_replace("/\r|\n/", "",
93+
html_entity_decode(
94+
htmlspecialchars(
95+
$this->stream['media_status']
96+
), ENT_QUOTES
97+
)
98+
);
9699
return $status;
97100
}
98101

0 commit comments

Comments
 (0)