Fixed issue with news post API handler where it created image record even if no image was uploaded
Testing Notes
Creating a news post without an image via the form does NOT create an image record in the images table, and the news post record's image value is (NULL)
Creating a news post with an image DOES create the image and link it to the news post.
What's Changed
Testing Notes
images
table, and the news post record'simage
value is(NULL)