summaryrefslogtreecommitdiffstats
path: root/admportal
diff options
context:
space:
mode:
Diffstat (limited to 'admportal')
-rw-r--r--admportal/views/user/list.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/admportal/views/user/list.ejs b/admportal/views/user/list.ejs
index 4a4e909c..947a8114 100644
--- a/admportal/views/user/list.ejs
+++ b/admportal/views/user/list.ejs
@@ -178,7 +178,7 @@ function updateRequest(email,password,privilege) {
document.getElementById('uf_confirm_password').value = password;
if ( privilege == "A" ){
document.getElementById('uf_privilege').value = 'admin';
- }else if (priv == "R"){
+ }else if (privilege == "R"){
document.getElementById('uf_privilege').value = 'readonly';
}else{
document.getElementById('uf_privilege').value = 'admin';