2010-11-04 Miguel de Dios <miguel.dedios@artica.es>

* operation/events/events_marquee.php: fixed the error SQL message and
	save corretly the audit.
	
	Fixes: #3102788



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-11-04 16:28:16 +00:00
parent c53168f835
commit 4b9aeba05b
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_marquee.php: fixed the error SQL message and
save corretly the audit.
Fixes: #3102788
2010-11-04 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/manage_export.php,

View File

@ -28,8 +28,12 @@ require_once "../../include/functions.php";
require_once "../../include/functions_db.php";
require_once "../../include/functions_api.php";
global $config;
session_start ();
$config["id_user"] = $_SESSION["id_usuario"];
// http://es2.php.net/manual/en/ref.session.php#64525
// Session locking concurrency speedup!
check_login ();
@ -44,10 +48,6 @@ if(!isInACL($_SERVER['REMOTE_ADDR'])){
exit;
}
global $config;
$config["id_user"] = $_SESSION["id_usuario"];
$groups = get_user_groups ($config["id_user"], "AR");
//Otherwise select all groups the user has rights to.
$sql_group_filter = " AND id_grupo IN (".implode (",", array_keys ($groups)).")";