Procházet zdrojové kódy

Kleiner Fix im Summarist

Rind před 3 roky
rodič
revize
d8b747d2d3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;