Corrected unset variable causing php warning in edit address pages

Fixes #909