mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Changes operator.
This commit is contained in:
@@ -416,7 +416,7 @@
|
|||||||
if (idaccessible == 1)
|
if (idaccessible == 1)
|
||||||
switch(alert(user, "Do you wish to add access to [src] or remove access from [src]?",,"Add Access","Remove Access", "Cancel"))
|
switch(alert(user, "Do you wish to add access to [src] or remove access from [src]?",,"Add Access","Remove Access", "Cancel"))
|
||||||
if("Add Access")
|
if("Add Access")
|
||||||
idcard.access += ID.access
|
idcard.access |= ID.access
|
||||||
user << "<span class='notice'>You add the access from the [W] to [src].</span>"
|
user << "<span class='notice'>You add the access from the [W] to [src].</span>"
|
||||||
return
|
return
|
||||||
if("Remove Access")
|
if("Remove Access")
|
||||||
|
|||||||
Reference in New Issue
Block a user