Skip to content

Commit 9b087d5

Browse files
authored
Merge pull request #74 from KelvinTegelaar/master
[pull] master from KelvinTegelaar:master
2 parents b242afa + 7946c42 commit 9b087d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/Invoke-ListLogs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function Invoke-ListLogs {
128128

129129
foreach ($Row in $Rows) {
130130
if ($AllowedTenants -contains 'AllTenants' -or ($AllowedTenants -notcontains 'AllTenants' -and ($TenantList.defaultDomainName -contains $Row.Tenant -or $Row.Tenant -eq 'CIPP' -or $TenantList.customerId -contains $Row.TenantId)) ) {
131-
if ($Row.StandardTemplateId) {
131+
if ($StandardTaskFilter -and $Row.StandardTemplateId) {
132132
$Standard = ($Templates | Where-Object { $_.RowKey -eq $Row.StandardTemplateId }).JSON | ConvertFrom-Json
133133

134134
$StandardInfo = @{

0 commit comments

Comments
 (0)