Commit 0fba793a authored by Dries's avatar Dries

- Fixed a typo that caused quite a few redundant SQL queries.
parent 7d677b5c
......@@ -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);
......
......@@ -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);
......
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