mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-05-07 13:55:00 +02:00
Small fix on short url generation
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user