Commit 88743489f1f5fb10f6eae426398f6fe1fce15645
1 parent
5be02429
Cover up errors that didn't get picked up by my testing.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3026 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
3 additions
and
5 deletions
lib/groups/GroupUnitLink.inc
| ... | ... | @@ -115,7 +115,7 @@ class GroupUnitLink { |
| 115 | 115 | $sTable = $default->groups_units_table; |
| 116 | 116 | $aFieldValues = array( |
| 117 | 117 | 'group_id' => $this->iGroupID, |
| 118 | - 'unit_id' => this->iUnitID, | |
| 118 | + 'unit_id' => $this->iUnitID, | |
| 119 | 119 | ); |
| 120 | 120 | $id =& DBUtil::autoInsert($sTable, $aFieldValues); |
| 121 | 121 | ... | ... |
lib/links/Link.inc
lib/roles/Role.inc
| ... | ... | @@ -116,9 +116,8 @@ class Role { |
| 116 | 116 | $this->iId = $id; |
| 117 | 117 | return true; |
| 118 | 118 | } |
| 119 | - } | |
| 120 | - $_SESSION["errorMessage"] = $lang_err_object_exists . "id = " . $this->iId . " table = document_fields"; | |
| 121 | - return false; | |
| 119 | + $_SESSION["errorMessage"] = $lang_err_object_exists . "id = " . $this->iId . " table = document_fields"; | |
| 120 | + return false; | |
| 122 | 121 | } |
| 123 | 122 | |
| 124 | 123 | /** | ... | ... |