allow all dynamic tags on error page
authorAdrian Oldham <adriann@visualthought.com.au>
Thu, 28 Apr 2011 02:50:35 +0000 (12:50 +1000)
committerAdrian Oldham <adriann@visualthought.com.au>
Thu, 28 Apr 2011 02:50:35 +0000 (12:50 +1000)
site/cgi-bin/modules/BSE/UI/Dispatch.pm

index 7b912e45dbecad104c52c635537468f43ff72b71..f83401ff147ba20c17214b322244ab8aac79ec43 100644 (file)
@@ -2,7 +2,7 @@ package BSE::UI::Dispatch;
 use strict;
 use Carp 'confess';
 
-our $VERSION = "1.001";
+our $VERSION = "1.002";
 
 sub new {
   my ($class, %opts) = @_;
@@ -105,7 +105,7 @@ sub error {
   my %acts;
   %acts =
     (
-     BSE::Util::Tags->basic(\%acts, $req->cgi, $req->cfg),
+     $req->dyn_user_tags(),
      error_img => [ \&tag_error_img, $req->cfg, $errors ],
      msg => $msg,
      error => $msg, # so we can use the original error.tmpl