? node.user.e_notice.path.txt Index: node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node.module,v retrieving revision 1.519 diff -u -p -r1.519 node.module --- node.module 11 Aug 2005 12:53:39 -0000 1.519 +++ node.module 11 Aug 2005 16:19:26 -0000 @@ -333,6 +333,7 @@ function node_invoke_nodeapi(&$node, $op */ function node_load($param = array(), $revision = NULL, $reset = NULL) { static $nodes = array(); + $cachable = FALSE; if ($reset) { $nodes = array(); @@ -1978,7 +1979,7 @@ function node_access_view_all_nodes() { } } $sql .= implode(',', $grants) .') AND grant_view = 1'; - $result = db_query($sql, $node->nid); + $result = db_query($sql); $access = db_result($result); } @@ -2001,4 +2002,4 @@ function node_db_rewrite_sql($query, $pr * @} End of "defgroup node_access". */ -?> +?> \ No newline at end of file Index: user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.501 diff -u -p -r1.501 user.module --- user.module 11 Aug 2005 13:52:44 -0000 1.501 +++ user.module 11 Aug 2005 16:21:01 -0000 @@ -97,7 +97,7 @@ function user_load($array = array()) { function user_save($account, $array = array(), $category = 'account') { // Dynamically compose a SQL query: $user_fields = user_fields(); - if ($account->uid) { + if (!empty($account->uid)) { user_module_invoke('update', $array, $account, $category); $data = unserialize(db_result(db_query('SELECT data FROM {users} WHERE uid = %d', $account->uid))); @@ -1911,4 +1911,4 @@ function user_autocomplete($string) { exit(); } -?> +?> \ No newline at end of file