Subject: | Typo in callback for CAP::DevPopup report |
There's a typo in the CAP::DevPopup callback function name.
It should be:
_devpopup_stop
not
_devpop_stop
Patch attached.
Subject: | cap-dbiprofile-devpopup-typo.patch |
diff -ru CGI-Application-Plugin-DBIProfile-0.03.orig/DBIProfile.pm CGI-Application-Plugin-DBIProfile-0.03/DBIProfile.pm
--- CGI-Application-Plugin-DBIProfile-0.03.orig/DBIProfile.pm 2007-09-28 17:57:19.000000000 -0700
+++ CGI-Application-Plugin-DBIProfile-0.03/DBIProfile.pm 2007-09-29 10:31:28.000000000 -0700
@@ -25,7 +25,7 @@
# use devpopup if installed, or do our own thing.
if ($c->can('devpopup') && $ENV{'CAP_DEVPOPUP_EXEC'})
{
- $c->add_callback( 'devpopup_report', \&_devpop_stop);
+ $c->add_callback( 'devpopup_report', \&_devpopup_stop);
} else {
$c->add_callback( 'postrun', \&_stop);
}