webmcp

changeset 400:7b183a70a37d

Bugfix in "document_column" write mechanism: write to document field when column does NOT exist
author jbe
date Mon Jan 04 00:42:28 2016 +0100 (2016-01-04)
parents ef3201ed67f5
children ad437022be90
files libraries/mondelefant/mondelefant_native.c
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.c	Sun Jan 03 21:15:57 2016 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.c	Mon Jan 04 00:42:28 2016 +0100
     1.3 @@ -1757,7 +1757,7 @@
     1.4        lua_getfield(L, 1, "_column_info");  // 7
     1.5        lua_pushvalue(L, 2);  // 8
     1.6        lua_gettable(L, 7);  // 8
     1.7 -      if (lua_toboolean(L, 8)) {
     1.8 +      if (!lua_toboolean(L, 8)) {
     1.9          lua_settop(L, 6);
    1.10          lua_gettable(L, 5);  // 6
    1.11          if (lua_isnil(L, 6)) {

Impressum / About Us