Commit a120339e authored by Curtis Loisel's avatar Curtis Loisel
Browse files

Adding the required parameter and returning to prevent fatal error

parent 48ed24d4
......@@ -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