Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo "seperat" #3787

Merged
merged 1 commit into from
Mar 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/GlobalFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ function smwfAbort( $text, $title = 'Error', $type = 'error' ) {
*
* @param array $messages
* @param string $icon Acts like an enum. Callers must ensure safety, since this value is used directly in the output.
* @param string $seperator
* @param string $separator
* @param boolean $escape Should the messages be escaped or not (ie when they already are)
*
* @return string
*/
function smwfEncodeMessages( array $messages, $type = 'warning', $seperator = ' <!--br-->', $escape = true ) {
function smwfEncodeMessages( array $messages, $type = 'warning', $separator = ' <!--br-->', $escape = true ) {

$messages = ProcessingErrorMsgHandler::normalizeAndDecodeMessages( $messages );

Expand All @@ -144,7 +144,7 @@ function smwfEncodeMessages( array $messages, $type = 'warning', $seperator = '
$message = '<li>' . $message . '</li>';
}

$content = '<ul>' . implode( $seperator, $messages ) . '</ul>';
$content = '<ul>' . implode( $separator, $messages ) . '</ul>';
}

// Stop when a previous processing produced an error and it is expected to be
Expand Down