diff options
author | Eric Wong <e@80x24.org> | 2017-11-29 09:29:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-11-29 09:29:24 +0000 |
commit | 0d48c3d9b83393337b20ed50aa7847c0a7e6b506 (patch) | |
tree | a1556abe5f8b905aca65e72173c84cf5b8246b9a | |
parent | 398b85e2a27718ba9eb0cc1d022660aadb184add (diff) | |
download | public-inbox-0d48c3d9b83393337b20ed50aa7847c0a7e6b506.tar.gz |
Perl 5.22 started warning about this.
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ad94977a..41f1321e 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -720,7 +720,7 @@ sub ghost_parent { sub indent_for { my ($level) = @_; - INDENT x ($level - 1); + $level ? INDENT x ($level - 1) : ''; } sub load_results { |