Classifieds Fixed Custom contact info not being saved when initially creating listing

Affected version
1.0.14

Kirby

Member
In \Z61\Classified\Pub\Controller\Category::setupListingCreate()

PHP:
if ($category->contact_email || $category->contact_custom)
{
    $creator->setContactInfo(
        !empty($contactOptions['email']) ? $this->filter('contact_email', 'str') : '',
        !empty($contactOptions['custom']) ? $this->filter('contact_custom', 'str') : ''
    );
}

$contactOptions seems to come out of thin air so this never actually works.
 
Back
Top