projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9f655
)
the image inline method now defaults the cfg parameter
author
Tony Cook
<tony@develop-help.com>
Fri, 8 May 2015 07:36:35 +0000
(17:36 +1000)
committer
Tony Cook
<tony@develop-help.com>
Mon, 18 May 2015 09:08:23 +0000
(19:08 +1000)
site/cgi-bin/modules/BSE/TB/Image.pm
patch
|
blob
|
blame
|
history
diff --git
a/site/cgi-bin/modules/BSE/TB/Image.pm
b/site/cgi-bin/modules/BSE/TB/Image.pm
index 0a05d3dc3b9e5857160ce9fe48ce293ab80664a1..df29c05fe171095cc39ef7aa7e41ddcb20689a55 100644
(file)
--- a/
site/cgi-bin/modules/BSE/TB/Image.pm
+++ b/
site/cgi-bin/modules/BSE/TB/Image.pm
@@
-8,7
+8,7
@@
use vars qw/@ISA/;
@ISA = qw/Squirrel::Row BSE::ThumbCommon BSE::TB::TagOwner/;
use Carp qw(confess);
-our $VERSION = "1.01
0
";
+our $VERSION = "1.01
1
";
=head1 NAME
@@
-145,8
+145,7
@@
Returns HTML.
sub inline {
my ($self, %opts) = @_;
- my $cfg = delete $opts{cfg}
- or confess "Missing cfg parameter";
+ my $cfg = delete $opts{cfg} || BSE::Cfg->single;
my $handler = $self->_handler_object($cfg);