From ca9e9f88317b0f79e30ff7832381ba254c3bd390 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 5 Dec 2011 11:22:27 +0100 Subject: [PATCH] =?utf8?q?Layouthelper:=20Automatisch=20generierte=20ids?= =?utf8?q?=20m=C3=BCssen=20mit=20einem=20alphabetischen=20Zeichen=20anfang?= =?utf8?q?en.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Template/Plugin/L.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 34a20f3f6..770c7ba70 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -13,7 +13,7 @@ use strict; # Do not use these id's to store information across requests. my $_id_sequence = int rand 1e7; sub _tag_id { - return $_id_sequence = ($_id_sequence + 1) % 1e7; + return "id_" . ( $_id_sequence = ($_id_sequence + 1) % 1e7 ); } } -- 2.20.1