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 0a5bdcc5d9a7436d5c7b9bfe98296144635025e6..2510a18b40b04e1dc310305da2976ba88048cc25 100644 (file)
@@ -551,7 +551,7 @@ sub req_checkout {
   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);
   }