summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-29 19:11:39 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-29 19:11:39 +0000
commit208eabd908293ffc4ca55671be02b7c8f9c28ca1 (patch)
treee088fcfdcb2ebc694dfba7cafe942df4bf43e9d4 /modules/comment.module
parent7531e82969cda841d2e03a736c2b0568ed2647e7 (diff)
downloadbrdo-208eabd908293ffc4ca55671be02b7c8f9c28ca1.tar.gz
brdo-208eabd908293ffc4ca55671be02b7c8f9c28ca1.tar.bz2
- Fixed import and comment module problems. Patch by Gabor.
> Currently the admin menu does not work for comment.module and import > module. Import module has the problem of not taking care of the fact in > the arg() function calls that the module is pushed one level down in the > menu (similar to the user.module and block.modules problems already > fixed). The comment.module has a problem with trying to translate an $op > which comes from the URL (and is therefore not translated). > > The attached patch also fixes the bogus URLs in import.module help texts > (as the module part is pushed down into /admin/node instead of /admin).
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index f2830e9dd..f77dd65d9 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1167,7 +1167,7 @@ function comment_admin() {
$op = arg(2);
}
- if ($op == t("moderation")) {
+ if ($op == "moderation") {
$op = arg(3);
}