Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion

This commit is contained in:
Philipp Schaefer 2013-06-12 19:46:16 +02:00
commit 40a94f5265
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @id ingress-intel-total-conversion@jonatkins // @id ingress-intel-total-conversion@jonatkins
// @name IITC: Ingress intel map total conversion // @name IITC: Ingress intel map total conversion
// @version 0.12.1.@@DATETIMEVERSION@@ // @version 0.12.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@ // @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@ // @downloadURL @@DOWNLOADURL@@

View File

@ -69,6 +69,8 @@ function iitcDesktopPluginDownloadTable ( $build )
$empty = True; $empty = True;
foreach ( $plugins as $basename => $details ) foreach ( $plugins as $basename => $details )
{ {
$path = "$build/plugins/$basename.user.js";
$this_category = array_key_exists('@category',$details) ? $details['@category'] : 'Misc'; $this_category = array_key_exists('@category',$details) ? $details['@category'] : 'Misc';
if ( $category != $this_category ) if ( $category != $this_category )