mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
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
789b64829e
commit
da1b8bbee2
@ -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>
|
2010-11-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* godmode/servers/manage_export.php,
|
* godmode/servers/manage_export.php,
|
||||||
|
@ -28,8 +28,12 @@ require_once "../../include/functions.php";
|
|||||||
require_once "../../include/functions_db.php";
|
require_once "../../include/functions_db.php";
|
||||||
require_once "../../include/functions_api.php";
|
require_once "../../include/functions_api.php";
|
||||||
|
|
||||||
|
global $config;
|
||||||
|
|
||||||
session_start ();
|
session_start ();
|
||||||
|
|
||||||
|
$config["id_user"] = $_SESSION["id_usuario"];
|
||||||
|
|
||||||
// http://es2.php.net/manual/en/ref.session.php#64525
|
// http://es2.php.net/manual/en/ref.session.php#64525
|
||||||
// Session locking concurrency speedup!
|
// Session locking concurrency speedup!
|
||||||
check_login ();
|
check_login ();
|
||||||
@ -44,10 +48,6 @@ if(!isInACL($_SERVER['REMOTE_ADDR'])){
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
global $config;
|
|
||||||
|
|
||||||
$config["id_user"] = $_SESSION["id_usuario"];
|
|
||||||
|
|
||||||
$groups = get_user_groups ($config["id_user"], "AR");
|
$groups = get_user_groups ($config["id_user"], "AR");
|
||||||
//Otherwise select all groups the user has rights to.
|
//Otherwise select all groups the user has rights to.
|
||||||
$sql_group_filter = " AND id_grupo IN (".implode (",", array_keys ($groups)).")";
|
$sql_group_filter = " AND id_grupo IN (".implode (",", array_keys ($groups)).")";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user