We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d91ba6c + 6783a62 commit 1af2415Copy full SHA for 1af2415
includes/MslsMetaBox.php
@@ -184,7 +184,7 @@ public function render_select() {
184
185
$language = $blog->get_language();
186
$iconType = MslsAdminIcon::TYPE_FLAG === $this->options->admin_display ? MslsAdminIcon::TYPE_FLAG : MslsAdminIcon::TYPE_LABEL;
187
- $icon = MslsAdminIcon::create()->set_language( $language )->set_icon_type( $iconType );
+ $icon = MslsAdminIcon::create($type)->set_language( $language )->set_icon_type( $iconType );
188
189
if ( $mydata->has_value( $language ) ) {
190
$icon->set_href( $mydata->$language );
0 commit comments