4 ms·
Agreed it should, but that doesn't seem to have been the cause of the issue. Looks there there was originally only one statement after the if but a new one had
by kgwxd 8y ago
Agreed it should, but that doesn't seem to have been the cause of the issue. Looks there there was originally only one statement after the if but a new one had been added, so the braces were also added.
- h1d 8y agoIt's a good practice to have the braces all the time to avoid making mistakes as it's easier to add and remove lines in it.