the check in my original code is to make sure that the Weight is set, AND that it is below 0.01
if you use the or separator, you will end up with an undefined index warning on page load if you set the error reporting level to show warnings.
the warning will happen because the weight variable wont have a value, using the or seperator will cause it to look at the second condition, but the variable doesn't exist yet.