[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 08/14: Bug : in follow-up , error in security
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 08/14: Bug : in follow-up , error in security can_add_action |
Date: |
Wed, 28 Oct 2015 09:56:57 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6931430a99077046681efd50595e7164074dde40
Author: Dany De Bontridder <address@hidden>
Date: Wed Oct 28 08:21:42 2015 +0100
Bug : in follow-up , error in security can_add_action
---
include/class/class_user.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/class/class_user.php b/include/class/class_user.php
index 0b6228e..aaf412d 100644
--- a/include/class/class_user.php
+++ b/include/class/class_user.php
@@ -1112,8 +1112,8 @@ class User
{
$r=$this->db->get_value (' select count(*)
from user_sec_action_profile
- where p_granted=$1
- and p_id=$2',
+ where p_granted=$2
+ and p_id=$1',
array($this->get_profile(),$p_profile));
if ($r == 0 )
{
- [Noalyss-commit] [noalyss] branch master updated (08827e1 -> a3fd1a9), Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 01/14: Protect $_POST variable, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 03/14: Fix issue when delete a menu with submenu , remove properly all direct and indirect children, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 07/14: Sort of the ledger in search, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 08/14: Bug : in follow-up , error in security can_add_action,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 02/14: Reinforce and Protect ajax, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 05/14: Select has a new attribute : size, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 10/14: Bug : in follow-up , error in security can_add_action, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 11/14: Bug : in export card, the textarea was not exported in CSV properly, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 12/14: Bug : in export card, the textarea was not exported in CSV properly, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 06/14: Select has already undocumented rowsize attribute , changes reversed, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 09/14: Bug : in follow-up , error in security can_add_action, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 14/14: indent, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 13/14: #1188 : display side for detail operation, Dany De Bontridder, 2015/10/28
- [Noalyss-commit] [noalyss] 04/14: Translation and update comments, Dany De Bontridder, 2015/10/28