projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Dashboards
/
Elements
/
DashboardsForObject
diff --git
a/rt/share/html/Dashboards/Elements/DashboardsForObject
b/rt/share/html/Dashboards/Elements/DashboardsForObject
index
3e11310
..
ddc5649
100644
(file)
--- a/
rt/share/html/Dashboards/Elements/DashboardsForObject
+++ b/
rt/share/html/Dashboards/Elements/DashboardsForObject
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-57,7
+57,7
@@
my $privacy = RT::Dashboard->_build_privacy($Object);
while (my $attr = $Object->Attributes->Next) {
if ($attr->Name =~ /^Dashboard\b/) {
while (my $attr = $Object->Attributes->Next) {
if ($attr->Name =~ /^Dashboard\b/) {
- my $dashboard = RT::Dashboard->new($
session{'CurrentUser'}
);
+ my $dashboard = RT::Dashboard->new($
User
);
my ($ok, $msg) = $dashboard->Load($privacy, $attr->id);
if (!$ok) {
my ($ok, $msg) = $dashboard->Load($privacy, $attr->id);
if (!$ok) {
@@
-79,3
+79,7
@@
while (my $attr = $Object->Attributes->Next) {
return \%dashboards;
</%init>
return \%dashboards;
</%init>
+<%args>
+$User => $session{'CurrentUser'}
+</%args>
+