diff options
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/saved_search.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/saved_search.pm b/FS/FS/saved_search.pm index 252dc71..caaf7fe 100644 --- a/FS/FS/saved_search.pm +++ b/FS/FS/saved_search.pm @@ -219,11 +219,10 @@ sub render { local $FS::CurrentUser::CurrentUser = $self->access_user; local $FS::Mason::Request::QUERY_STRING = $self->query_string; - local $FS::Mason::Request::FSURL = ''; #? -# local $ENV{SERVER_NAME} = 'localhost'; #? -# local $ENV{SCRIPT_NAME} = '/freeside'. $self->path; + local $FS::Mason::Request::FSURL = $self->access_user->option('rooturl'); my $mason_request = $fs_interp->make_request(comp => '/' . $self->path); + $mason_request->notes('inline_stylesheet', 1); local $@; eval { $mason_request->exec(); }; |