diff options
author | Mike Mason <ms13sp@gmail.com> | 2008-02-05 21:35:03 +0000 |
---|---|---|
committer | Mike Mason <ms13sp@gmail.com> | 2008-02-05 21:35:03 +0000 |
commit | 13c4b25ab45c2ab897140fbafa59eafb9cacf000 (patch) | |
tree | 30bff1e2dc667de38032ba5880b893f76d584104 /lib/format.lua | |
parent | 91653931e66a76d5b135398a0e022af18e087491 (diff) | |
download | acf-core-13c4b25ab45c2ab897140fbafa59eafb9cacf000.tar.bz2 acf-core-13c4b25ab45c2ab897140fbafa59eafb9cacf000.tar.xz |
Added the full roles to the sessiondata.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/format.lua')
-rw-r--r-- | lib/format.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |