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,7 +115,7 @@ class GroupUnitLink { | ||
| 115 | $sTable = $default->groups_units_table; | 115 | $sTable = $default->groups_units_table; |
| 116 | $aFieldValues = array( | 116 | $aFieldValues = array( |
| 117 | 'group_id' => $this->iGroupID, | 117 | 'group_id' => $this->iGroupID, |
| 118 | - 'unit_id' => this->iUnitID, | 118 | + 'unit_id' => $this->iUnitID, |
| 119 | ); | 119 | ); |
| 120 | $id =& DBUtil::autoInsert($sTable, $aFieldValues); | 120 | $id =& DBUtil::autoInsert($sTable, $aFieldValues); |
| 121 | 121 |
lib/links/Link.inc
| @@ -113,7 +113,6 @@ class Link { | @@ -113,7 +113,6 @@ class Link { | ||
| 113 | $this->iId = $id; | 113 | $this->iId = $id; |
| 114 | return true; | 114 | return true; |
| 115 | } | 115 | } |
| 116 | - } | ||
| 117 | $_SESSION["errorMessage"] = $lang_err_object_exists . "id = " . $this->iId . " table = document_fields"; | 116 | $_SESSION["errorMessage"] = $lang_err_object_exists . "id = " . $this->iId . " table = document_fields"; |
| 118 | return false; | 117 | return false; |
| 119 | } | 118 | } |
lib/roles/Role.inc
| @@ -116,9 +116,8 @@ class Role { | @@ -116,9 +116,8 @@ class Role { | ||
| 116 | $this->iId = $id; | 116 | $this->iId = $id; |
| 117 | return true; | 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 | /** |