From: Chris Fulljames Date: Sat, 23 May 2026 15:06:15 +0000 (-0400) Subject: Minor cleanup X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;h=b8d7bb534fa94abff98f4b03218c753b1222a48b;p=swapshop.git Minor cleanup --- diff --git a/index.php b/index.php index 63a24e9..363f034 100755 --- 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; }