From 0fba793aff7d65a8b966f894c25a368d3a055aa2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 12 Jan 2003 15:29:28 +0000 Subject: - Fixed a typo that caused quite a few redundant SQL queries. --- modules/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node.module') 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); -- cgit v1.2.3