Skip to content

Commit

Permalink
array tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Jul 9, 2017
1 parent 594532e commit 056e49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public static function loadProcessing(GenericEvent $event) {

public static function getSettings(GenericEvent $event) {
$settings = $event->getSubject();
$settings->add_dropdown_setting(self::$module, 'General', 'outofstock_domains', 'Out Of Stock Domains', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_DOMAINS'), array('0', '1'), array('No', 'Yes', ));
$settings->add_dropdown_setting(self::$module, 'General', 'outofstock_domains', 'Out Of Stock Domains', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_DOMAINS'), array('0', '1'), array('No', 'Yes'));
}
}

0 comments on commit 056e49a

Please sign in to comment.