moved uploadsAccessHandler into the main webgui handler mechanism
converted macros to use references fixed some other various bugs
This commit is contained in:
parent
2818ade8b0
commit
ea868a8c0e
73 changed files with 256 additions and 275 deletions
|
|
@ -293,7 +293,7 @@ sub _parsePlaceholderParams {
|
|||
} elsif ($type =~ /^query(\d)/) {
|
||||
$param = $self->{_query}{$1}{rowData}{$field};
|
||||
}
|
||||
$param = WebGUI::Macro::process($param);
|
||||
WebGUI::Macro::process(\$param);
|
||||
push(@placeholderParams, $param);
|
||||
}
|
||||
return \@placeholderParams;
|
||||
|
|
@ -316,7 +316,8 @@ sub _processQuery {
|
|||
|
||||
# Preprocess macros
|
||||
if ($self->{_query}{$nr}{preprocessMacros}) {
|
||||
$query = WebGUI::Macro::process($self->{_query}{$nr}{dbQuery});
|
||||
my $query = $self->{_query}{$nr}{dbQuery};
|
||||
WebGUI::Macro::process(\$query);
|
||||
} else {
|
||||
$query = $self->{_query}{$nr}{dbQuery};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue