Skip to content

Commit

Permalink
- Patch #21918 by budda/Robin: forum icons are broken when you change…
Browse files Browse the repository at this point in the history
… the forum icon path. TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting.
  • Loading branch information
dbuytaert committed Jun 19, 2005
1 parent a7af266 commit f12d5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/forum.module
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)
}

// default
$file = "misc/forum-$icon.png";
$file = variable_get('forum_icon_path', 'misc') ."/forum-$icon.png";

$output = theme('image', $file);
}
Expand Down
2 changes: 1 addition & 1 deletion modules/forum/forum.module
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)
}

// default
$file = "misc/forum-$icon.png";
$file = variable_get('forum_icon_path', 'misc') ."/forum-$icon.png";

$output = theme('image', $file);
}
Expand Down

0 comments on commit f12d5c5

Please sign in to comment.