Fix exception when characters.frags enabled on TFS 1.x

This commit is contained in:
slawkens 2020-04-20 22:35:41 +02:00
parent d7333b3f21
commit ee6e68d0bf

View File

@ -326,7 +326,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
$frags = array();
$frag_add_content = '';
if($config['characters']['frags'])
if($config['characters']['frags'] && $db->hasTable('killers'))
{
//frags list by Xampy
$i = 0;