Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway committed Jan 1, 2024
1 parent 7d04a90 commit 0848db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/includes/sb-callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ function ViewCommunityProfile(int $sid, $name)

if (!$ret) {
$objResponse->addScript("$('dialog-control').setStyle('display', 'block');");
$objResponse->addScript("ShowBox('Error', 'Can\' connect to server!', 'red', '', true);");
$objResponse->addScript("ShowBox('Error', 'Can\'t connect to server!', 'red', '', true);");
return $objResponse;
}

Expand Down Expand Up @@ -3344,7 +3344,7 @@ function SendMessage(int $sid, $name, $message)

if (!$ret) {
$objResponse->addScript("$('dialog-control').setStyle('display', 'block');");
$objResponse->addScript("ShowBox('Error', 'Can\' connect to server!', 'red', '', true);");
$objResponse->addScript("ShowBox('Error', 'Can\'t connect to server!', 'red', '', true);");
return $objResponse;
}

Expand Down

0 comments on commit 0848db4

Please sign in to comment.