diff options
-rwxr-xr-x | GradeBook_lib.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 340bed2..68b74cc 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1824,7 +1824,8 @@ proc Create_Passwords_Table {} { } proc is_User_Registered_in_Passwords_DB { user_requested } { - set eval_str [list SELECT UserName FROM PasswordsTable WHERE UserName='$user_requested'] + # note the use of : instead of $ (this sqlite feature) + set eval_str {SELECT UserName FROM PasswordsTable WHERE UserName=:user_requested} set err [catch { pdb eval $eval_str registered_user_names_array {} } errStat ] |