fixing PHP error on delete
Merge pull request #6 from bellingboe/development

fixing PHP error on delete