Permalink
Browse files

Bugfix for IE update setting

  • Loading branch information...
attackant committed Dec 1, 2016
1 parent d95daf4 commit 12f8a07b4ae8731a6c6649f59034a6c134540f9f
View
@@ -12,6 +12,7 @@ Provides a library of additional template tags, 3rd-party libraries, and functio
## 1.1.1
- Remove `mapi_change_email_defaults()` function because of conflict with Gravity Forms
- Bugfix for IE update setting
## 1.1.0
- Add `mapi_facebook_posts()` function
@@ -1758,7 +1758,10 @@ public function show_field_cond($field, $meta) {
}
//set new id for field in array format
$f['id'] = $id;
call_user_func(array(&$this, 'show_field_'.$f['type']), $f, $m);
if (array_key_exists('type', $f) && $f[ 'type' ] != NULL && method_exists($this, 'show_field_' . $f[ 'type' ])) {
call_user_func(array(&$this, 'show_field_' . $f[ 'type' ]), $f, $m);
}
}
echo '</div>';
$this->show_field_end($field, $meta);
@@ -216,11 +216,10 @@
$mapi_options->addCondition(
'load_ieupdate',
array(
'name' => 'Show Internet Explorer update nag',
'desc' => '(visitors with IE versions lower than number above will be politely alerted to update)',
'fields' => $condition_load_ie,
'std' => TRUE,
'std' => FALSE,
)
);

0 comments on commit 12f8a07

Please sign in to comment.