Adding a couple extra checks will prevent some tedious PHP warnings from filling up the logs. Patch attached.

CommentFileSizeAuthor
node_page-php-warnings.patch890 bytesjohn franklin