Przeglądaj źródła

Update _common.sh

Mickael-Martin 6 lat temu
rodzic
commit
c72d148043
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      scripts/_common.sh

+ 1 - 1
scripts/_common.sh

@@ -32,7 +32,7 @@ disable_guest_user(){
 #===================GET ADMIN DEFAULT USER STATE==============
 #return 0 if enable, else 1
 get_state_admin_user(){
-    return $($mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9")
+    return $mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9"
 }
 
 #================ DISABLE DEFAULT ADMIN USER ===================