should fix perist bug with expriable slot creation
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 3 Mar 2005 18:02:59 +0000 (18:02 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 3 Mar 2005 18:02:59 +0000 (18:02 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@164 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application/Persist.pm

index 82bc7b8..e829829 100644 (file)
@@ -116,7 +116,7 @@ sub create_expirable_store {
        my $time = shift || $default_expire_time;
 
        try {
-               $name = $self->method_lookup( 'opensrf.persist.slot.create' )->run( $name );
+               ($name) = $self->method_lookup( 'opensrf.persist.slot.create' )->run( $name );
                return undef unless $name;
 
                $self->method_lookup('opensrf.persist.slot.set_expire')->run($name, $time);