[open-ils-commits] r17353 - trunk/Open-ILS/src/perlmods/OpenILS/WWW (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 26 13:03:09 EDT 2010
Author: erickson
Date: 2010-08-26 13:03:05 -0400 (Thu, 26 Aug 2010)
New Revision: 17353
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
Log:
depth could be 0, don't undef on false; repaired url param addition of depth
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2010-08-26 16:55:04 UTC (rev 17352)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2010-08-26 17:03:05 UTC (rev 17353)
@@ -58,7 +58,7 @@
my $skin = $apache_obj->dir_config('OILSRedirectSkin') || 'default';
- my $depth = $apache_obj->dir_config('OILSRedirectDepth') || undef;
+ my $depth = $apache_obj->dir_config('OILSRedirectDepth');
my $locale = $apache_obj->dir_config('OILSRedirectLocale') || 'en-US';
my $hostname = $cgi->server_name();
@@ -84,7 +84,7 @@
if($org) {
$url .= "?ol=" . $org->id;
- $url .= "d=$depth" if defined $depth;
+ $url .= "&d=$depth" if defined $depth;
}
}
More information about the open-ils-commits
mailing list