fix: SQLReport no longer paginates or runs nested queries when downloading.Stow's warning when cache is disabled is now a debug message, since that's what debug messages are for.

This commit is contained in:
Doug Bell 2006-11-02 18:08:39 +00:00
parent d584e8ba5e
commit 3ab139e6cc
3 changed files with 7 additions and 3 deletions

View file

@ -19,6 +19,8 @@
7.1.4
- Template variables in the main Survey Template were out of date in the
documentation.
- fix: SQLReport no longer paginates or runs nested queries when downloading.
- Made Stow's warning a debug message, which is what debug messages are for.
7.1.3
- fix: SQLReport now returns error if can't find DatabaseLink

View file

@ -543,8 +543,10 @@ sub _parsePlaceholderParams {
# be passed to processTemplate()
sub _processQuery {
my $self = shift;
my $nest = shift || 1;
my $page = shift || 1;
my $nest = shift;
$nest = 1 unless defined $nest;
my $page = shift;
$page = 1 unless defined $page;
my $nr = shift || 1;
my ($query, %var, $prefix);

View file

@ -163,7 +163,7 @@ The value of the stow variable. Any scalar or reference.
sub set {
my $self = shift;
$self->session->errorHandler->warn('Stow->set() is being called but cache has been disabled')
$self->session->errorHandler->debug('Stow->set() is being called but cache has been disabled')
if $self->session->config->get("disableCache");
my $name = shift;
my $value = shift;