Fix for custom themes

This commit is contained in:
ruben- 2016-03-03 19:49:09 +01:00
parent 63aadab343
commit 1fee2ba8a1
3 changed files with 10 additions and 2 deletions

View file

@ -519,7 +519,6 @@ class MainWP_Child_Branding {
function custom_the_generator( $generator, $type = '' ) {
$extra_setting = $this->settings['extra_settings'];
error_log($type . "======" . print_r($extra_setting, true));
if ( isset( $extra_setting['site_generator'] ) ) {
if ( ! empty( $extra_setting['site_generator'] ) ) {
switch ( $type ) :