merging 6.7.8 changes
This commit is contained in:
parent
d2f6f887f3
commit
25af8fb98b
3 changed files with 4 additions and 2 deletions
|
|
@ -151,8 +151,8 @@ sub process {
|
||||||
$params =~ s/(^\(|\)$)//g; # remove parenthesis
|
$params =~ s/(^\(|\)$)//g; # remove parenthesis
|
||||||
$params = &process($params); # recursive process params
|
$params = &process($params); # recursive process params
|
||||||
}
|
}
|
||||||
if ($session{config}{macros}{$searchString} ne "") {
|
if ($WebGUI::Session::session{config}{macros}{$searchString} ne "") {
|
||||||
my $cmd = "WebGUI::Macro::".$session{config}{macros}{$searchString};
|
my $cmd = "WebGUI::Macro::".$WebGUI::Session::session{config}{macros}{$searchString};
|
||||||
my $load = "use ".$cmd;
|
my $load = "use ".$cmd;
|
||||||
eval($load);
|
eval($load);
|
||||||
WebGUI::ErrorHandler::error("Macro failed to compile: $cmd.".$@) if($@);
|
WebGUI::ErrorHandler::error("Macro failed to compile: $cmd.".$@) if($@);
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ use warnings;
|
||||||
use WebGUI::ErrorHandler;
|
use WebGUI::ErrorHandler;
|
||||||
use WebGUI::Id;
|
use WebGUI::Id;
|
||||||
use WebGUI::Session;
|
use WebGUI::Session;
|
||||||
|
use WebGUI::URL;
|
||||||
use WebGUI::Utility;
|
use WebGUI::Utility;
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ package WebGUI::User;
|
||||||
use strict;
|
use strict;
|
||||||
use WebGUI::Cache;
|
use WebGUI::Cache;
|
||||||
use WebGUI::Id;
|
use WebGUI::Id;
|
||||||
|
use WebGUI::Macro;
|
||||||
use WebGUI::Session;
|
use WebGUI::Session;
|
||||||
use WebGUI::SQL;
|
use WebGUI::SQL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue