replaces Default Domain Name by min(id)
Created by: AlainBenbassat
In calendar.php, the function calendar_civicrm_dashboard uses: select id from civicrm_domain where name = 'Default Domain Name' This does not return a record because in production environments the name contains the name of the organization, not 'Default Domain Name'.