[svn:p5ee] r9919 - p5ee/trunk/App-Repository/lib/App/SessionObject

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Thu Sep  6 10:39:46 2007
New Revision: 9919

Modified:
   p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm

Log:
0000410: Had to make a copy of params in _get_all_objects to stop set_params from doing a _clear_cache

Modified: p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm	(original)
+++ p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm	Thu Sep  6 10:39:46 2007
@@ -213,6 +213,7 @@
         my $table   = $self->{table} || die "table not defined";
         my $params  = $self->{params} || {};
         my $columns = $self->{columns};
+        $params = {%$params};
         $objects = $rep->get_objects($table, $params, $columns, {extend_columns => 1});
         $self->{objects} = $objects;
         $self->{max_age_time} = time();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.