evekb/evedev-kb — pull request #26 by 6RUN0 (2014-07-28 03:19:14+00:00)
Title: git ignore custom mods; fix check double kill

I run script
$php cron_zkb.php
and get error:
Database error: Duplicate entry '34873218' for key 'kll_external_id'
SQL: UPDATE kb3_kills JOIN kb3_mails ON kb3_mails.kll_id = kb3_kills.kll_id SET kb3_kills.kll_external_id = 34873218, kb3_mails.kll_external_id = 34873218, kll_modified_time = UTC_TIMESTAMP() WHERE kb3_kills.kll_id = 32730 AND kb3_kills.kll_external_id IS NULL
PHP Fatal error: SQL error (Duplicate entry '34873218' for key 'kll_external_id' in /home/u5577/domains/insp.su/killboard/common/includes/class.dbnormalquery.php on line 46

This patch fix problem.