Commit f281e9f01a32e877df05640b732b56a3d3d53411
1 parent
6da79c8d
KTS-2812
"Fatal error after clicking 'View resolved permissions for user'." Fixed. Removed the $ in $this->$iId Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7885 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/users/User.inc
| @@ -500,7 +500,7 @@ class User extends KTEntity { | @@ -500,7 +500,7 @@ class User extends KTEntity { | ||
| 500 | "WHERE $pdgTable.descriptor_id = ? AND " . | 500 | "WHERE $pdgTable.descriptor_id = ? AND " . |
| 501 | "$uglTable.user_id=?"; | 501 | "$uglTable.user_id=?"; |
| 502 | $aParams = array($oPermissionDescriptor->getID()); | 502 | $aParams = array($oPermissionDescriptor->getID()); |
| 503 | - $aParams[] = $this->$iId; | 503 | + $aParams[] = $this->iId; |
| 504 | $res = DBUtil::getOneResultKey(array($sQuery, $aParams), 'num'); | 504 | $res = DBUtil::getOneResultKey(array($sQuery, $aParams), 'num'); |
| 505 | if (PEAR::isError($res)) { | 505 | if (PEAR::isError($res)) { |
| 506 | return $res; | 506 | return $res; |