Skip to content

Commit 8134d0d

Browse files
committed
- typo
1 parent a567490 commit 8134d0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eventum/misc/scm/process_cvs_commits.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// | Authors: João Prado Maia <[email protected]> |
2727
// +----------------------------------------------------------------------+
2828
//
29-
// @(#) $Id: process_cvs_commits.php 3282 2007-03-19 19:37:08Z glen $
29+
// @(#) $Id: process_cvs_commits.php 3284 2007-03-19 23:54:48Z glen $
3030

3131

3232
// URL to your Eventum installation.
@@ -83,7 +83,7 @@
8383
$pattern = "/(?:issue|bug) ?:? ?#?(\d+)/i";
8484
preg_match_all($pattern, $commit_msg, $matches);
8585

86-
if (count($matches[1]) > 1) {
86+
if (count($matches[1]) > 0) {
8787
// need to encode all of the url arguments
8888
$commit_msg = rawurlencode($commit_msg);
8989
$cvs_module = rawurlencode($cvs_module);

eventum/misc/scm/process_svn_commits.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// | Elan Ruusamäe <[email protected]> |
3030
// +----------------------------------------------------------------------+
3131
//
32-
// @(#) $Id: process_svn_commits.php 3282 2007-03-19 19:37:08Z glen $
32+
// @(#) $Id: process_svn_commits.php 3284 2007-03-19 23:54:48Z glen $
3333

3434
// See http://eventum.mysql.org/wiki/index.php/Subversion_integration about SVN integration.
3535

@@ -101,7 +101,7 @@
101101
$pattern = "/(?:issue|bug) ?:? ?#?(\d+)/i";
102102
preg_match_all($pattern, $commit_msg, $matches);
103103

104-
if (count($matches[1]) > 1) {
104+
if (count($matches[1]) > 0) {
105105
// need to encode all of the url arguments
106106
$commit_msg = rawurlencode($commit_msg);
107107
$scm_module = rawurlencode($scm_module);

0 commit comments

Comments
 (0)