Commit 52e74b0c0ddc69a5e019cd22e8b729524ce78b07
1 parent
aaca0da6
Exists in
master
Corrigido metodo __toString para converter valor para string, pois em casos onde…
… era gravado um numero como parecer ocorria erro ao recuperar tal, pelo serviço do boletim.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ieducar/modules/Avaliacao/Model/ParecerDescritivoAbstract.php
| @@ -80,6 +80,6 @@ abstract class Avaliacao_Model_ParecerDescritivoAbstract extends Avaliacao_Model | @@ -80,6 +80,6 @@ abstract class Avaliacao_Model_ParecerDescritivoAbstract extends Avaliacao_Model | ||
| 80 | */ | 80 | */ |
| 81 | public function __toString() | 81 | public function __toString() |
| 82 | { | 82 | { |
| 83 | - return $this->parecer; | 83 | + return (string)$this->parecer; |
| 84 | } | 84 | } |
| 85 | -} | ||
| 86 | \ No newline at end of file | 85 | \ No newline at end of file |
| 86 | +} |