diff --git a/presentation/lookAndFeel/knowledgeTree/store.php b/presentation/lookAndFeel/knowledgeTree/store.php index 3c83f6c..5cb9ee9 100644 --- a/presentation/lookAndFeel/knowledgeTree/store.php +++ b/presentation/lookAndFeel/knowledgeTree/store.php @@ -1,7 +1,11 @@ "; + //execute the query + $sql = new Owl_DB(); + $sql->query($sQuery); } else { //perform an update $sQuery = "UPDATE $sTableName SET "; @@ -132,13 +138,15 @@ for ($i = 0; $i < count($aKeys); $i++) { default: break; } - $sQuery .= "WHERE id = $iPrimaryKey"; - echo $sQuery. "
"; + $sQuery .= "WHERE id = $iPrimaryKey"; + //execute the query + $sql = new Owl_DB(); + $sql->query($sQuery); } } - } +redirect(urldecode($fReturnURL));