Attempt fixing bug in previewForm.php

Moved $listing_id value retrieval block up.

ve
previewForm: Do not execute update when id is an empty string