Notice level error in $three04

$three04 is never set to false anywhere, and is not initialized properly in all conditions. This check makes sure the variable is set