Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ if( !class_exists( 'CDN_Rewrite' ) ){ ...@@ -46,7 +46,7 @@ if( !class_exists( 'CDN_Rewrite' ) ){
public function initialize() { public function initialize() {
if( !class_exists( 'Voce_Settings_API' ) ) 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(); $this->add_options_page();
if ('' == $this->file_extensions || '' == $this->cdn_root_url) { if ('' == $this->file_extensions || '' == $this->cdn_root_url) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment