More EMS code
Lots of bug fixes in commerce Temp bug fix for stow->get, better fix needed
This commit is contained in:
parent
abfa6ed1ac
commit
5bdaa49f95
6 changed files with 178 additions and 61 deletions
|
|
@ -187,7 +187,9 @@ Returns a reference to an array of all enabled instantiated payment plugins.
|
|||
=cut
|
||||
|
||||
sub getEnabledPlugins {
|
||||
my ($session) = @_;
|
||||
#my ($session) = @_;
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my (@enabledPlugins, $plugin, @plugins);
|
||||
@enabledPlugins = $session->db->buildArray("select namespace from commerceSettings where type='Payment' and fieldName='enabled' and fieldValue='1'");
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,8 @@ Returns a reference to an array of all enabled instantiated payment plugins.
|
|||
=cut
|
||||
|
||||
sub getEnabledPlugins {
|
||||
my ($session) = @_;
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my (@enabledPlugins, $plugin, @plugins);
|
||||
@enabledPlugins = $session->db->buildArray("select namespace from commerceSettings where type='Shipping' and fieldName='enabled' and fieldValue='1'");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue