Permalink
Browse files

Return encoded value for single ref rather than '1'

  • Loading branch information...
1 parent 628488a commit d06beb9b7655c27517f4814784e1621020268e65 @rwstauner rwstauner committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/String/Flogger.pm
View
@@ -98,7 +98,7 @@ sub flog {
return $class->format_string($fmt, $class->_encrefs(\@data));
}
- return $class->_encrefs([ $input ]);
+ return ( $class->_encrefs([ $input ]) )[0];
}
sub format_string {

0 comments on commit d06beb9

Please sign in to comment.