This looks like an error situation to me; I'd rather see a die() statement than a nonsensical return.