Skip to content

Commit 4fad9a6

Browse files
committed
Enchanted security for inaccessible pivots
1 parent d7cc947 commit 4fad9a6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

MDX2JSON/Dashboard.cls.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,11 @@ Returns MDX string used to create pivot.<br>
247247
<Implementation><![CDATA[
248248
#dim tPivot As %DeepSee.Dashboard.Pivot
249249
#dim tPivotTable As %DeepSee.Component.pivotTable
250+
set MDX = ""
251+
set BaseMDX = ""
252+
250253
set tPivot = ##class(%DeepSee.UserLibrary.Utils).%OpenFolderItem(pPivotName,.pStatus)
251-
254+
return:'$IsObject(tPivot) $$$OK
252255
return:$$$ISERR(pStatus) pStatus
253256
254257
set tPivotTable = ##class(%DeepSee.Component.pivotTable).%New()

0 commit comments

Comments
 (0)