diff --git a/sapl/base/views.py b/sapl/base/views.py index c45cb8703..3bc003cc0 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -382,7 +382,7 @@ class RelatorioPresencaSessaoView(FilterView): m = m.last() parlamentares_presencas.append({ 'parlamentar': p, - 'titular': m.titular, + 'titular': m.titular if m else True, 'sessao_porc': 0, 'ordemdia_porc': 0 })