FIND: ------------------- $action = $vbphrase['closed']; ------------------- BELOW IT ADD: ------------------- if($_POST['reason'] == 'null') $_POST['reason'] = null;