Domains domain update
This started in a forum thread but I'm not sure how to proceed.
I've been digging around, among others in _getSQL() and see that only the 'domain' field is added to the query ... which I don't think I would ever want to update. So I'm a bit confused as to how the web UI does change the client for a client domain.
Commit 35b30e33 looked promising but that line still evaluates false since $_SESSION["s"]["user"]["client_id"] is 0 in my API request.
@tbrehm Could you explain to me if/how I can set $_SESSION["s"]["user"]["client_id"] from an API call? or show me how to modify this code to update the client.