This is untested, but should work:

Code:
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] == '0' ) {