2009-09-11 Miguel de Dios <miguel.dedios@artica.es>

* operation/events/events.php: change the order to include and write
	"<script>" in file for don't affect to ajax requests.
	Fixes: 2848523



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-09-11 11:19:23 +00:00
parent 342f16ca85
commit 7daa8f7013
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: change the order to include and write
"<script>" in file for don't affect to ajax requests.
Fixes: 2848523
2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fix bug for character "`" in

View File

@ -17,9 +17,6 @@
// Load global vars
require_once ("include/config.php");
require_once ("include/functions_events.php"); //Event processing functions
if ($config['flash_charts']) {
require_once ("include/fgraph.php");
}
check_login ();
@ -92,6 +89,10 @@ if (is_ajax ()) {
return;
}
if ($config['flash_charts']) {
require_once ("include/fgraph.php");
}
$offset = (int) get_parameter ("offset", 0);
$ev_group = (int) get_parameter ("ev_group", 1); //1 = all
$search = preg_replace ("/&([A-Za-z]{0,4}\w{2,3};|#[0-9]{2,3};)/", "%", rawurldecode (get_parameter ("search")));