[SUCS Devel] [Git][sucssite/doorkey][master] fix syntax errors, i'm still thinking in python!

Imran Hussain imranh at sucs.org
Thu Sep 26 17:21:05 BST 2019



Imran Hussain pushed to branch master at sucssite / doorkey


Commits:
cb0e731f by Imran Hussain at 2019-09-26T16:20:37Z
fix syntax errors, i'm still thinking in python!

- - - - -


1 changed file:

- public/index.php


Changes:

=====================================
public/index.php
=====================================
@@ -86,7 +86,7 @@ if ($isAuthd == "sucs" && !$outsider && !$banned) {
 								<p>You must be connected to GuestNET to use this service.</p>
 							</div>
 								');
-							} elif ($banned) {
+							} elseif ($banned) {
 								print('
 							<div class="card-body">
 								<h4 class="card-title">🔨</h4>
@@ -94,8 +94,7 @@ if ($isAuthd == "sucs" && !$outsider && !$banned) {
 							</div>
 								');
 
-							}
-							} elif ($success) {
+							} elseif ($success) {
 								print('
 							<div class="card-body">
 								<h4 class="card-title">✔️</h4>
@@ -103,9 +102,7 @@ if ($isAuthd == "sucs" && !$outsider && !$banned) {
 							</div>
 								');
 
-							}
-
-							else {
+							} else {
 								print('
 							<div class="card-body">
 								<h4 class="card-title">🔑</h4>



View it on GitLab: https://projects.sucs.org/sucssite/doorkey/commit/cb0e731f1eebb44166354cc4b148a07241cbe313

-- 
View it on GitLab: https://projects.sucs.org/sucssite/doorkey/commit/cb0e731f1eebb44166354cc4b148a07241cbe313
You're receiving this email because of your account on projects.sucs.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20190926/e08e9da1/attachment-0001.html>


More information about the Devel mailing list