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:
parent
c53168f835
commit
4b9aeba05b
|
@ -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,
|
||||
|
|
|
@ -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)).")";
|
||||
|
|
Loading…
Reference in New Issue