[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-221-g99b23c4
Alex M Vandiver
alexmv at bestpractical.com
Thu Oct 1 15:40:59 EDT 2009
The branch, 3.8-trunk has been updated
via 99b23c4831ff1bcbd54c4460ff605f29f86b7fb3 (commit)
from 03339008a34be52dea06308ff7ff275fd9d099e2 (commit)
Summary of changes:
lib/RT/Config.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 99b23c4831ff1bcbd54c4460ff605f29f86b7fb3
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Oct 1 15:40:21 2009 -0400
Fix "whitespace" check in regex
diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 1405a11..fabe758 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -346,7 +346,7 @@ our %META = (
PostLoadCheck => sub {
my ($self,$value) = @_;
$RT::Logger->error("got $value for organization");
- if ($value =~ /\w/) {
+ if ($value =~ /\s/) {
$RT::Logger->error("your \$Organization setting ($value) appears to contain whitespace. Please fix this.");
}
},
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list