fixes php notice if attribute 'value' is not set or has been removed
Merge pull request #15 from buggedcom/master

fixes php notice if attribute 'value' is not set or has been removed