From 4c170fa4ec3252eb37298d2fad2d338758af8cc9 Mon Sep 17 00:00:00 2001 From: Zaahir Moolla Date: Wed, 20 Aug 2014 15:18:51 +0000 Subject: [PATCH] reorder return logic --- lib/DDG/Goodie/FlipText.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/DDG/Goodie/FlipText.pm b/lib/DDG/Goodie/FlipText.pm index 6cdd65c0e..656555dde 100644 --- a/lib/DDG/Goodie/FlipText.pm +++ b/lib/DDG/Goodie/FlipText.pm @@ -20,8 +20,8 @@ attribution web => [ 'robert.io', 'Robert Picard' ], twitter => ['http://twitter.com/__rlp', '__rlp']; handle remainder => sub { - return upside_down( $_ ) if $_; - return; + return unless $_; + return upside_down( $_ ); }; 1;