From b450ea7607d7f9d8f56fd41e2f0e87fb643e8833 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Tue, 3 Jun 2014 21:30:58 +0200 Subject: [PATCH] Small fix on short url generation --- lib/Lutim.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lutim.pm b/lib/Lutim.pm index 5fffd7b..987da19 100644 --- a/lib/Lutim.pm +++ b/lib/Lutim.pm @@ -107,7 +107,7 @@ sub startup { my $short; do { $short= $c->shortener($c->config->{length}); - } while (LutimModel::Lutim->count('WHERE short = ?', $short) || $short eq 'about' || $short eq 'stats'); + } while (LutimModel::Lutim->count('WHERE short = ?', $short) || $short eq 'about' || $short eq 'stats' || $short eq 'd'); LutimModel::Lutim->create( short => $short,