diff --git a/dlls/sqlite/sqlite_amx.cpp b/dlls/sqlite/sqlite_amx.cpp index 931e131b..b024660e 100755 --- a/dlls/sqlite/sqlite_amx.cpp +++ b/dlls/sqlite/sqlite_amx.cpp @@ -229,7 +229,9 @@ const char *SQLResult::GetField(unsigned int field) return NULL; } - return m_data[(m_currentRow + 1) * m_columnCount + field]; + char *data = m_data[(m_currentRow + 1) * m_columnCount + field]; + + return (data ? data : ""); } const char *SQLResult::GetField(const char *field)