Explorar el Código

Kleiner Fix im Summarist

Rind hace 3 años
padre
commit
d8b747d2d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      summarist/summarist.cpp

+ 1 - 1
summarist/summarist.cpp

@@ -131,7 +131,7 @@ bool CSummarist::CreateTagList(CMySqlDB &rdb)
 		const MYSQL_FIELD *pFields	= res.FetchFields();
 		MYSQL_ROW pRow				= res.FetchRow();
 
-        if((nRowCount == 1) && (nFldCount == 1) && pFields && (pFields->type != MYSQL_TYPE_BLOB) && pRow)
+        if((nRowCount == 1) && (nFldCount == 1) && pFields && (pFields->type != MYSQL_TYPE_BLOB) && pRow && pRow[0])
             m_ilTagList = pRow[0];
 		else
 			bRet = false;