Commit 6cb7776b authored by Kevin Langley Jr's avatar Kevin Langley Jr
Browse files

Merge pull request #3 from voceconnect/issue_2_error_fix

Adding the required parameter and returning to prevent fatal error
parents f199ef41 a120339e
......@@ -46,7 +46,7 @@ if( !class_exists( 'CDN_Rewrite' ) ){
public function initialize() {
if( !class_exists( 'Voce_Settings_API' ) )
_doing_it_wrong( __CLASS__, 'The Voce Settings API plugin must be active for the CDN Rewrite plugin to work' );
return _doing_it_wrong( __CLASS__, 'The Voce Settings API plugin must be active for the CDN Rewrite plugin to work', NULL );
$this->add_options_page();
if ('' == $this->file_extensions || '' == $this->cdn_root_url) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment