]> littlesong.place Git - swapshop.git/commitdiff
Minor cleanup
authorChris Fulljames <christianfulljames@gmail.com>
Sat, 23 May 2026 15:06:15 +0000 (11:06 -0400)
committerChris Fulljames <christianfulljames@gmail.com>
Sat, 23 May 2026 15:06:15 +0000 (11:06 -0400)
index.php

index 63a24e9700f149a43c3bfec2018af90367496b9c..363f0345c4bad02ecf3a8fe065880ec3b6f80982 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -67,12 +67,8 @@ $shareable_link = BASE_URL.event_url($event);
 if (isset($event) && isset($count)) {
     // Check of more users have joined
     header('Content-type: application/json');
-    if (count($peeps) != $count) {
-        echo '{"reload": true}';
-    }
-    else {
-        echo '{"reload": false}';
-    }
+    if (count($peeps) != $count) echo '{"reload": true}';
+    else echo '{"reload": false}';
     exit;
 }