From 4302477bcbfb41fb1db23015bae43bf9e3200969 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 13 Feb 2019 13:15:27 -0200 Subject: [PATCH] HOT-FIX: adiciona a possibilidade mandato nulo (fix #2435) --- sapl/base/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })