Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Revert "Also accept non-standard DNA syntax in top_kills."
Browse files Browse the repository at this point in the history
This reverts commit f140ec0.
  • Loading branch information
Artefact2 committed Oct 31, 2015
1 parent 621c757 commit 9318b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/* Osmium
* Copyright (C) 2012, 2013, 2014, 2015 Romain "Artefact2" Dalmaso <[email protected]>
* Copyright (C) 2012, 2013, 2014 Romain "Artefact2" Dalmaso <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
Expand Down Expand Up @@ -206,7 +206,7 @@

$ol = $section->appendCreate('ol');
foreach($topkills['fotw'] as $f) {
$shipid = (int)explode(';', explode(':', $f['dna'], 2)[0], 2)[0];
list($shipid, ) = explode(':', $f['dna'], 2);

$shiptypename = \Osmium\Fit\get_typename($shipid);
$fname = $shiptypename.' fitting'.($f['tags'] ? ': '.implode(', ', $f['tags']) : '');
Expand Down

0 comments on commit 9318b84

Please sign in to comment.