Oracle compatibility fixes.
This commit is contained in:
parent
275e7877df
commit
b0955f6fe1
2 changed files with 4 additions and 4 deletions
|
|
@ -30,9 +30,9 @@ sub countPositions {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub generate {
|
||||
my ($output, $content, %template);
|
||||
%template = WebGUI::SQL->quickHash("select * from template where templateId=".$_[1]);
|
||||
$content = $template{template};
|
||||
my ($output, $content, $template);
|
||||
$template = WebGUI::SQL->quickHashRef("select * from template where templateId=".$_[1]);
|
||||
$content = $template->{template};
|
||||
$content =~ s/\^(\d+)\;/${$_[0]}{$1}/g;
|
||||
return $content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue