diff --git a/presentation/lookAndFeel/knowledgeTree/store.php b/presentation/lookAndFeel/knowledgeTree/store.php index 807e866..babaf8a 100644 --- a/presentation/lookAndFeel/knowledgeTree/store.php +++ b/presentation/lookAndFeel/knowledgeTree/store.php @@ -134,7 +134,7 @@ for ($i = 0; $i < count($aKeys); $i++) { } //execute the query $sql = $default->db; - $sql->query($sQuery); + $sql->query($sQuery); $iPrimaryKey = $sql->insert_id(); } else { //perform an update @@ -183,12 +183,6 @@ for ($i = 0; $i < count($aKeys); $i++) { $sql = $default->db; $sql->query($sQuery); } - - //need to do some special checks for folders - if (strcmp($sTableName, "folders") == 0) { - $oFolder = Folder::get($iPrimaryKey); - $oFolder->update(true); - } } } redirect(urldecode($fReturnURL));