summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiwiusz Ociepa <liwiusz.ociepa@softwarelab.eu>2008-11-20 11:21:14 +0000
committerLiwiusz Ociepa <liwiusz.ociepa@softwarelab.eu>2008-11-20 11:21:14 +0000
commit5bea90044386b2d8cf15ec19ca878cb9e10223c7 (patch)
treea55b3d812551adde16997d0a9e1d322bd90a9e84
parent81baddad00af555a50f42f3acdf88c4024844bc7 (diff)
downloadredmine-5bea90044386b2d8cf15ec19ca878cb9e10223c7.tar.gz
redmine-5bea90044386b2d8cf15ec19ca878cb9e10223c7.zip
Some debug added.
There is a bug - don't know if in Redmine.pm or in Netbeans svn client. In logs: Use of uninitialized value $project_id in concatenation (.) or string at /usr/lib/perl5/Apache/Authn/Redmine.pm line 306, .... git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/swistak@2049 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--extra/svn/Redmine.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm
index 468f2c193..de28c71d4 100644
--- a/extra/svn/Redmine.pm
+++ b/extra/svn/Redmine.pm
@@ -302,6 +302,9 @@ sub is_member {
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
my $usrprojpass;
+ unless ($project_id) {
+ print $r->location."\n";
+ }
if ($cfg->{RedmineMemcache}) {
$usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id);
return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));