[prev in list] [next in list] [prev in thread] [next in thread] 

List:       os-sim-commits
Subject:    [Os-sim-commits] os-sim/www/control_panel global_score.php,1.84,1.85
From:       "Tomas V.V.Cox" <tvvcox () users ! sourceforge ! net>
Date:       2006-03-29 17:57:10
Message-ID: E1FOeus-000207-EV () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/os-sim/os-sim/www/control_panel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1113/www/control_panel

Modified Files:
	global_score.php 
Log Message:
E_ALL fixes

Index: global_score.php
===================================================================
RCS file: /cvsroot/os-sim/os-sim/www/control_panel/global_score.php,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- global_score.php	1 Dec 2005 11:11:09 -0000	1.84
+++ global_score.php	29 Mar 2006 17:57:07 -0000	1.85
@@ -105,6 +105,10 @@
     foreach($net_groups as $net_group){
         $ng_name = $net_group->get_name();
         $net_group_array[$ng_name]["name"] = $ng_name;
+        $net_group_array[$ng_name]["max_c"] = 0;
+        $net_group_array[$ng_name]["max_a"] = 0;
+        $net_group_array[$ng_name]["max_c_date"] = 0;
+        $net_group_array[$ng_name]["max_a_date"] = 0;
         if(Net_group::isNetInGroup($conn, $ng_name, $net_name)){
             $net_group_array[$ng_name]["time_range"] = $temp_net->get_time_range(); 
             $net_group_array[$ng_name]["max_c"] += $temp_net->get_max_c(); 
@@ -490,7 +494,7 @@
 <?php
     if ($nets_order_by_c)
     foreach ($nets_order_by_c as $net) {
-        if (!Net_group::isNetInGroup($conn, $_GET["expand"], $net->get_net_name()))
+        if (!Net_group::isNetInGroup($conn, @$_GET["expand"], $net->get_net_name()))
         if (($net->get_max_c() < Net::netthresh_c($conn, $net->get_net_name()))
         && ($net->get_max_a() < Net::netthresh_a($conn, $net->get_net_name()))
         && (Net_group::isNetInAnyGroup($conn, $net->get_net_name()))){continue;}
@@ -550,7 +554,7 @@
 <?php 
     if ($nets_order_by_a)
     foreach ($nets_order_by_a as $net) { 
-        if (!Net_group::isNetInGroup($conn, $_GET["expand"], $net->get_net_name()))
+        if (!Net_group::isNetInGroup($conn, @$_GET["expand"], $net->get_net_name()))
         if (($net->get_max_a() < Net::netthresh_a($conn, $net->get_net_name()))
         && ($net->get_max_c() < Net::netthresh_c($conn, $net->get_net_name()))
         && (Net_group::isNetInAnyGroup($conn, $net->get_net_name()))){continue;}



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Os-sim-commits mailing list
Os-sim-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic