]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
hopefully fixed Apache::MVC with HTTP::Body fallback to handle url args
[maypole.git] / lib / Maypole.pm
index 83607c8db34137662cf0694cf8a494179d319d18..ab05605105bdde76df8a486519ae46e8099b15e7 100644 (file)
@@ -12,7 +12,7 @@ use URI::QueryParam;
 use NEXT;
 use File::MMagic::XS qw(:compat);
 
-our $VERSION = '2.11';
+our $VERSION = '2.11_pre2';
 our $mmagic = File::MMagic::XS->new();
 
 # proposed privacy conventions:
@@ -922,7 +922,7 @@ processed.
 
 sub exception { 
     my ($self, $error, $when) = @_;
-    if ($self->view_object->can("report_error") and $self->debug) {
+    if (ref $self->view_object && $self->view_object->can("report_error") and $self->debug) {
         $self->view_object->report_error($self, $error, $when);
         return OK;
     }