[open-ils-commits] r16300 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 26 08:58:51 EDT 2010
Author: erickson
Date: 2010-04-26 08:58:49 -0400 (Mon, 26 Apr 2010)
New Revision: 16300
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
Patch from Jason Stephenson to silence 'isn't numeric' warnings in actor log
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-04-26 09:23:26 UTC (rev 16299)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-04-26 12:58:49 UTC (rev 16300)
@@ -276,7 +276,7 @@
$org->ou_type( $org_typelist_hash->{$org->ou_type()});
}
- next unless (defined($org->parent_ou));
+ next if (!defined($org->parent_ou) || $org->parent_ou eq "");
my ($parent) = grep { $_->id == $org->parent_ou } @list;
next unless $parent;
More information about the open-ils-commits
mailing list