From 1022eb61ab984862167bfa584ab4044ee2410d5b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 15 May 2001 21:35:27 +0000 Subject: - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "node.module" and "queue.module" to work with the new API. The upgrade script, 2.00-to-x.xx.php, is still broken and needs fixing. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 8b31f63c5..e469bbfea 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -101,7 +101,7 @@ function node_admin() { print node_listing(node_query()); break; case "Save node": - node_save($edit); + node_save($edit, array(uthor, comment, moderate, promote, status, timestamp)); print node_admin_view($id); break; case "View node": -- cgit v1.2.3