Commit 554299df authored by Dries's avatar Dries
Browse files

- Small clean-up.
parent 2fc257a0
......@@ -328,8 +328,8 @@ function blog_link($type, $node = 0, $main) {
function blog_block($op = "list", $delta = 0) {
global $user;
if ($op == "list") {
$blocks[0]["info"] = t("User blogs");
return $blocks;
$block[0]["info"] = t("User blogs");
return $block;
}
else {
if (user_access("access content")) {
......
......@@ -328,8 +328,8 @@ function blog_link($type, $node = 0, $main) {
function blog_block($op = "list", $delta = 0) {
global $user;
if ($op == "list") {
$blocks[0]["info"] = t("User blogs");
return $blocks;
$block[0]["info"] = t("User blogs");
return $block;
}
else {
if (user_access("access content")) {
......
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