2010-02-10 Sancho Lerena <slerena@artica.es>

* events.php: Fixed a bad link with an invalid id_agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-02-10 17:26:11 +00:00
parent 4103e04156
commit 5052fcec23
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2010-02-10 Sancho Lerena <slerena@artica.es>
* events.php: Fixed a bad link with an invalid id_agent.
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
Added several index and dropped some fields in tagente_datos and
tagente_datos_string tagent_access.

View File

@ -471,7 +471,7 @@ foreach ($result as $event) {
// Event description
$data[3] = '<span title="'.$event["evento"].'" class="f9">';
$data[3] .= '<a href="'.$url.'&amp;group_rep=0&amp;id_agent='.$event["id_agente"].'&amp;pure='.$config["pure"].'&amp;search='.rawurlencode ($event["evento"]).'">';
$data[3] .= '<a href="'.$url.'&amp;group_rep=0&amp;pure='.$config["pure"].'&amp;search='.rawurlencode ($event["evento"]).'">';
if (strlen ($event["evento"]) > 50) {
$data[3] .= mb_substr ($event["evento"], 0, 50)."...";
}