Commit b6820fe4 authored by Dries's avatar Dries

- Fixed typo in node.php (patch by Simone).
- Fixed type in 2.00-to-x.xx.sql (patch by Simone).
parent 6d107b08
......@@ -7,7 +7,7 @@
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) {
......
......@@ -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';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment