aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index 784b2528f40..5c2dbc6654d 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -377,7 +377,7 @@ function sortSearchFirst($a, $b) {
if($i === $j) {
return 0;
- } else if ($i === 0) {
+ } elseif ($i === 0) {
return -1;
} else {
return 1;