Remote API enables previously disabled cron entries and reverts mail options disablesmtp and postfix back to their defaults on client_update

Summary

When updating a clients data previously disabled cronjobs (belonging to that user) get reactivated and the users mailboxes with enabled "disablesmtp" and disabled "postfix" option gets reverted to their defaults.

Steps to reproduce

  1. choose a client with disabled cronjobs and/or an mailbox with disabled mail submission and/or disabled mail receive option
  2. pull client data via client_get function
  3. (re)submit the the data via the client_update function
  4. check the Data Log History for alterations besides the client table in the cron and/or mail_user table

Correct behaviour

Only the client table should be updated.

Environment

ISPConfig version: 3.2.12p1

Edited by Zak