summaryrefslogtreecommitdiff
path: root/modules/page/page.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-10-16 20:13:22 +0000
committerDries Buytaert <dries@buytaert.net>2001-10-16 20:13:22 +0000
commit33a3502dfee073325f5046baee655e6a2bdb29ec (patch)
tree7632ce5324998a3dac61b975cc2b3e24e1080063 /modules/page/page.module
parent2ec1512419549fa48fb9925b8cd31e239864769d (diff)
downloadbrdo-33a3502dfee073325f5046baee655e6a2bdb29ec.tar.gz
brdo-33a3502dfee073325f5046baee655e6a2bdb29ec.tar.bz2
- Removed a node's link ID (lid) as discussed on the mailing list. See
'updates/3.00-to.x.xx.mysql' for the required MySQL updates. - Renamed some "author" fields to "uid" fields for sake of consistency. - Fixed the coding style of some PHP files. - Fixed the moderation queue (fairly untested though). - Re-introduced the temporary SQL table in _node_get(). - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
Diffstat (limited to 'modules/page/page.module')
-rw-r--r--modules/page/page.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/page/page.module b/modules/page/page.module
index 01deece17..4b46a99c2 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -72,7 +72,7 @@ function page_form($edit = array()) {
function page_save($edit) {
global $status, $user;
- node_save($edit, array(author => $user->uid, link, body, comment => variable_get("page_comment", 0), format, moderate => variable_get("page_moderate", ""), promote => variable_get("page_promote", 0), score => 0, status => $status["posted"], timestamp => time(), title, type => "page", votes => 0));
+ node_save($edit, array(uid => $user->uid, link, body, comment => variable_get("page_comment", 0), format, moderate => variable_get("page_moderate", ""), promote => variable_get("page_promote", 0), score => 0, status => $status["posted"], timestamp => time(), title, type => "page", votes => 0));
}
?> \ No newline at end of file