degica/spree-license-key — pull request #11 by shioyama (2014-09-16 00:24:51+00:00)
Title: Don't populate license keys if electronic delivery keys is zero.

This is checking for nil, but we need to also check that it's not zero, otherwise we end up triggering callbacks for no reason.