changed 'slot' to 'key' for clarity, should have no effect on behavior
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 8 Mar 2005 00:06:34 +0000 (00:06 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 8 Mar 2005 00:06:34 +0000 (00:06 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@201 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Utils/Cache.pm

index 2aaf2d4..fd212f0 100644 (file)
@@ -102,7 +102,7 @@ sub put_cache {
                        }
                }
 
-               ($slot) = $persist_push_stack->run("_CACHEVAL_$slot", $value);
+               ($slot) = $persist_push_stack->run("_CACHEVAL_$key", $value);
 
                if(!$slot) {
                        throw OpenSRF::EX::ERROR ("Unable to push data onto stack in persist slot _CACHEVAL_$key" );