fixed bug

parent 8d992bd5
......@@ -122,7 +122,7 @@ function validate() {
}
if (strlen(getRequest('comment', '')) > 30) {
$error = sprintf($_language[$code_language]["error_text"], strlen(getRequest('text', '')));
$error = sprintf($_language[$code_language]["error_text"], 0, 30, strlen(getRequest('comment', '')));
return false;
}
return true;
......
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