From 13c4b25ab45c2ab897140fbafa59eafb9cacf000 Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Tue, 5 Feb 2008 21:35:03 +0000 Subject: Added the full roles to the sessiondata. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/format.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/format.lua') diff --git a/lib/format.lua b/lib/format.lua index 2865756..60fda82 100644 --- a/lib/format.lua +++ b/lib/format.lua @@ -112,7 +112,7 @@ end -- This code comes from http://lua-users.org/wiki/SplitJoin -- -- example: format.table_to_string( {"Anna", "Bob", "Charlie", "Dolores"}, ",") function table_to_string (list, delimiter) - local len = getn(list) + local len = #(list) if len == 0 then return "" end -- cgit v1.2.3