diff options
-rw-r--r-- | lib/private/L10N/L10NString.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/L10NString.php b/lib/private/L10N/L10NString.php index 0722057de02..9d219ea1772 100644 --- a/lib/private/L10N/L10NString.php +++ b/lib/private/L10N/L10NString.php @@ -74,7 +74,7 @@ class L10NString implements \JsonSerializable { } $identity = implode('|', $identity); - } else if (strpos($identity, '|') !== false) { + } elseif (strpos($identity, '|') !== false) { return 'Can not use pipe character in translations'; } |