Find and comment BUG on populating sign in/out form regarding new student.

This commit is contained in:
kougyokugentou 2021-01-30 12:52:54 -08:00
parent b26114a5f4
commit d41de3f84d

View File

@ -81,6 +81,9 @@ namespace GreatHomeChildcare
pb.Image = child_in.photo == null ? Properties.Resources.child : ImageWrangler.ByteArrayToImage(child_in.photo);
}
//TODO: BUG: If the child is new and does not have sign in/out status, program crashes.
//Fix: if studentStatus is null, set new var to "NONE YET", else set new var to actual status.
if (c is Button)
{
Button btn = (Button)c;