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

(cherry picked from commit ee6e68d0bf9417f3193bcfd4ea2920d8430806db)
This commit is contained in:
slawkens 2020-04-20 22:35:41 +02:00
parent 054b40e358
commit 6ce6eee529

View File

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