diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-12 15:29:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-12 15:29:28 +0000 |
commit | 0fba793aff7d65a8b966f894c25a368d3a055aa2 (patch) | |
tree | f59846e0c7b39de538b554f617d2fadeaf7df30d /modules/node/node.module | |
parent | 7d677b5c5a05f3594c10f2cac14ffe3b368e2204 (diff) | |
download | brdo-0fba793aff7d65a8b966f894c25a368d3a055aa2.tar.gz brdo-0fba793aff7d65a8b966f894c25a368d3a055aa2.tar.bz2 |
- Fixed a typo that caused quite a few redundant SQL queries.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
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); |