now inserts empty string for undefined items instead of defaulting to
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:20:39 +0000 (20:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:20:39 +0000 (20:20 +0000)
spidermonkey's default "undef"

git-svn-id: svn://svn.open-ils.org/ILS/trunk@2771 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm

index d8bce12..24acefb 100644 (file)
@@ -196,7 +196,7 @@ sub insert {
                                )
                        );
                } else {
-                       $self->context->property_by_path($key);
+                       $self->context->property_by_path($key, "");
                }
 
        } else {