diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index acf13e9443..29dfba6a76 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -887,7 +887,7 @@ $action_ary = request_var('action', array('' => 0));
if ($submit)
{
- if (!check_form_token('my_form'))
+ if (!check_form_key('my_form'))
{
trigger_error('FORM_INVALID');
}