2011-08-11 Dario Rodriguez <dario.rodriguez@artica.es>
* extensions/net_tools.php: Fixed a small bug related with agent without IP git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
624ac76647
commit
87988a754f
|
@ -1,3 +1,8 @@
|
|||
2011-08-11 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* extensions/net_tools.php: Fixed a small bug related with agent
|
||||
without IP
|
||||
|
||||
2011-08-11 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/stat_win.php: Fixed bad url build with
|
||||
|
|
|
@ -21,7 +21,10 @@ function main_net_tools () {
|
|||
|
||||
$id_agente = get_parameter ("id_agente");
|
||||
$ip = db_get_sql ("SELECT direccion FROM tagente WHERE id_agente = $id_agente");
|
||||
|
||||
if ($ip == "") {
|
||||
echo "<h3 class=error>The agent hasn't got IP</h3>";
|
||||
return;
|
||||
}
|
||||
echo "<div>";
|
||||
echo "<form name='actionbox' method='post'>";
|
||||
echo "<table class=databox width=650>";
|
||||
|
|
Loading…
Reference in New Issue