summaryrefslogtreecommitdiff
path: root/modules/akismet/controllers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-31 02:12:01 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-31 02:12:01 -0700
commit8312eb116e65195e3fc70d59b3b0817b9c807287 (patch)
tree1a7191e21d19c92cd5fa843144356a8bd950ef06 /modules/akismet/controllers
parent26f6d8192ffdfd0280987ec2b9df0305e983746d (diff)
XSS review fixes (mostly adding missing html::mark_clean()) calls.
Diffstat (limited to 'modules/akismet/controllers')
-rw-r--r--modules/akismet/controllers/admin_akismet.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/akismet/controllers/admin_akismet.php b/modules/akismet/controllers/admin_akismet.php
index 9ba89bd4..ca3a1473 100644
--- a/modules/akismet/controllers/admin_akismet.php
+++ b/modules/akismet/controllers/admin_akismet.php
@@ -45,7 +45,8 @@ class Admin_Akismet_Controller extends Admin_Controller {
message::success(t("Your Akismet key has been saved."));
}
- log::success("akismet", t("Akismet key changed to $new_key"));
+ log::success("akismet", t("Akismet key changed to %new_key",
+ array("new_key" => $new_key)));
module::set_var("akismet", "api_key", $new_key);
akismet::check_config();
url::redirect("admin/akismet");