diff options
-rw-r--r-- | lib/LuaOCCI.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LuaOCCI.cc b/lib/LuaOCCI.cc index 8325bba..85b2a42 100644 --- a/lib/LuaOCCI.cc +++ b/lib/LuaOCCI.cc @@ -819,7 +819,7 @@ int sLua_EncapOCCI_Statement::EncapOCCI_Statement_proceed_unprotected(Lua * L, i break; case STATEMENT_GETNUMBER: { - Number x = rset->getNumber(L->tonumber(2)); + Number x = stmt->getNumber(L->tonumber(2)); std::string s = x.toText(global_env, n == 2 ? L->tostring(3).to_charp() : "TM9"); L->push(String(s.c_str())); } |