More php 5.4 notice fixes and errors
More php 5.4 notice fixes and errors
Merge pull request #88 from dlobo/MiscFixes

More php 5.4 notice fixes and errors