d8-contrib-modules / cloudflare

Cloudflare Module for Drupal
16 stars 14 forks source link

Catch NULL zones after authenticating with API #50

Closed steveworley closed 8 years ago

steveworley commented 8 years ago

$this->zones[0]->getZoneId() can cause a fatal error if you authenticate with the module without first defining a site in the CloudFlare console.

Fixes #49