Commit c8dd9de7d491d282c7e897bf0546b14a668b5be5
1 parent
1f848ab5
no message
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1215 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
7 deletions
presentation/lookAndFeel/knowledgeTree/store.php
| ... | ... | @@ -134,7 +134,7 @@ for ($i = 0; $i < count($aKeys); $i++) { |
| 134 | 134 | } |
| 135 | 135 | //execute the query |
| 136 | 136 | $sql = $default->db; |
| 137 | - $sql->query($sQuery); | |
| 137 | + $sql->query($sQuery); | |
| 138 | 138 | $iPrimaryKey = $sql->insert_id(); |
| 139 | 139 | } else { |
| 140 | 140 | //perform an update |
| ... | ... | @@ -183,12 +183,6 @@ for ($i = 0; $i < count($aKeys); $i++) { |
| 183 | 183 | $sql = $default->db; |
| 184 | 184 | $sql->query($sQuery); |
| 185 | 185 | } |
| 186 | - | |
| 187 | - //need to do some special checks for folders | |
| 188 | - if (strcmp($sTableName, "folders") == 0) { | |
| 189 | - $oFolder = Folder::get($iPrimaryKey); | |
| 190 | - $oFolder->update(true); | |
| 191 | - } | |
| 192 | 186 | } |
| 193 | 187 | } |
| 194 | 188 | redirect(urldecode($fReturnURL)); | ... | ... |