com web/bugs: typo: include/classes/bug_patchtracker.php
| From: | Rasmus Lerdorf | Date: | Sun, 19 Jul 2015 13:43:56 +0000 |
| Subject: | com web/bugs: typo: include/classes/bug_patchtracker.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21517@lists.php.net to get a copy of this message | ||
Commit: 70ca6e3414b73ebce4d5c732e12d5b6fe762b9e6
Author: Rasmus Lerdorf <rasmus@php.net> Sun, 19 Jul 2015 06:43:56 -0700
Parents: b792953c6004e7a1e62a29ec95bb033217678caa
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=70ca6e3414b73ebce4d5c732e12d5b6fe762b9e6
Log:
typo
Changed paths:
M include/classes/bug_patchtracker.php
Diff:
diff --git a/include/classes/bug_patchtracker.php b/include/classes/bug_patchtracker.php
index cd77815..93c6051 100644
--- a/include/classes/bug_patchtracker.php
+++ b/include/classes/bug_patchtracker.php
@@ -132,7 +132,7 @@ class Bug_Patchtracker
return PEAR::raiseError('Upload directory for patches could not be initialized');
}
if (!preg_match('/^[\w\-\.]+\z/', $name) || strlen($name) > 80) {
- return PEAR::raiseError("Invalid patch name
\"".htmlspecichars($name)."\"");
+ return PEAR::raiseError("Invalid patch name
\"".htmlspecialchars($name)."\"");
}
if (!is_array($obsoletes)) {
return PEAR::raiseError('Invalid obsoleted patches');