fix non-object php notice
network flag
Merge pull request #1 from mcguffin/development

fix non-object php notice