call the right method to report the reason for needing to logon
authorTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 05:57:11 +0000 (16:57 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 05:57:11 +0000 (16:57 +1100)
site/cgi-bin/modules/BSE/UI/Shop.pm

index 0a5bdcc..2510a18 100644 (file)
@@ -551,7 +551,7 @@ sub req_checkout {
   my @items = @{$cart->items};
 
   if ($cart->need_logon) {
   my @items = @{$cart->items};
 
   if ($cart->need_logon) {
-    my ($msg, $id) = $cart->need_logon_reason;
+    my ($msg, $id) = $cart->need_logon_message;
     return $class->_refresh_logon($req, $msg, $id);
   }
 
     return $class->_refresh_logon($req, $msg, $id);
   }