diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-22 11:41:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-22 11:41:33 +0000 |
commit | b6820fe44a4c32af820cc502c3340af2f4ae88ae (patch) | |
tree | 8adc86544c2e39072aa9784518769fae20f5b151 | |
parent | 6d107b084ca28e4ddbe431e541cdd1e0617a72af (diff) | |
download | brdo-b6820fe44a4c32af820cc502c3340af2f4ae88ae.tar.gz brdo-b6820fe44a4c32af820cc502c3340af2f4ae88ae.tar.bz2 |
- Fixed typo in node.php (patch by Simone).
- Fixed type in 2.00-to-x.xx.sql (patch by Simone).
-rw-r--r-- | node.php | 2 | ||||
-rw-r--r-- | updates/2.00-to-x.xx.sql | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ page_header(); function node_render($node) { global $user, $id, $cid, $op, $moderate, $pid, $edit, $theme, $mode, $order, $threshold, $PHP_SELF; - if (user_access($node, "view content")) { + if (user_access($user, "view content")) { if ($node->comment) { switch($op) { diff --git a/updates/2.00-to-x.xx.sql b/updates/2.00-to-x.xx.sql index b43d97ead..220082efd 100644 --- a/updates/2.00-to-x.xx.sql +++ b/updates/2.00-to-x.xx.sql @@ -277,4 +277,4 @@ CREATE TABLE role ( ALTER TABLE users ADD role varchar(32) DEFAULT '' NOT NULL; ALTER TABLE users DROP access; -UPDATE users SET role = 'registered user'; +UPDATE users SET role = 'authenticated user'; |