diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index a600e0d04..e48945e02 100644 --- a/modules/node.module +++ b/modules/node.module @@ -450,7 +450,7 @@ function node_link($type, $node = 0, $main = 0) { } } - if ($type = "admin" && user_access("administer nodes")) { + if ($type == "admin" && user_access("administer nodes")) { $search = "On this page you can search for a post. For example, one may search for 'br' and Drupal might return 'bread brakers', 'our daily bread' and 'brenda'."; menu_add("content management", url("admin/node"), "Content management.", NULL, NULL); diff --git a/modules/node/node.module b/modules/node/node.module index a600e0d04..e48945e02 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -450,7 +450,7 @@ function node_link($type, $node = 0, $main = 0) { } } - if ($type = "admin" && user_access("administer nodes")) { + if ($type == "admin" && user_access("administer nodes")) { $search = "On this page you can search for a post. For example, one may search for 'br' and Drupal might return 'bread brakers', 'our daily bread' and 'brenda'."; menu_add("content management", url("admin/node"), "Content management.", NULL, NULL); |