diff options
Diffstat (limited to 'contrib/libucl/lua_ucl.c')
-rw-r--r-- | contrib/libucl/lua_ucl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index 7611ecffb..52e787ee5 100644 --- a/contrib/libucl/lua_ucl.c +++ b/contrib/libucl/lua_ucl.c @@ -355,7 +355,8 @@ ucl_object_lua_fromtable (lua_State *L, int idx, ucl_string_flags_t flags) lua_pop (L, 1); } } - else if (is_array) { + + if (is_array) { #if LUA_VERSION_NUM >= 502 max = lua_rawlen (L, idx); #else |