summaryrefslogtreecommitdiff
path: root/includes/api/ApiQueryAllMessages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiQueryAllMessages.php')
-rw-r--r--includes/api/ApiQueryAllMessages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryAllMessages.php b/includes/api/ApiQueryAllMessages.php
index c9811b0d..d47c7b76 100644
--- a/includes/api/ApiQueryAllMessages.php
+++ b/includes/api/ApiQueryAllMessages.php
@@ -87,7 +87,7 @@ class ApiQueryAllMessages extends ApiQueryBase {
foreach ( $messages_target as $message ) {
// === 0: must be at beginning of string (position 0)
if ( strpos( $message, $params['prefix'] ) === 0 ) {
- if( !$skip ) {
+ if ( !$skip ) {
$skip = true;
}
$messages_filtered[] = $message;