Skip to content

Commit

Permalink
Merge pull request #944 from Rushaway/patch-5
Browse files Browse the repository at this point in the history
fix: typo
  • Loading branch information
Hackmastr committed Jan 1, 2024
2 parents 7d04a90 + 0848db4 commit 3be438a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/includes/sb-callback.php
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 3be438a

Please sign in to comment.