Skip to content

Commit

Permalink
#573 -- Editar sujeto en los correos automáticos
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonmoura committed Oct 18, 2023
1 parent d74c244 commit 89b3dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symphony/src/Proethos2/CoreBundle/Util/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getConfiguration($key) {

if($configuration and !empty($configuration->getValue())) {
$value = $configuration->getValue();
$committee_contact = explode("\n", $value);
$committee_contact = preg_split('/\r\n|\r|\n/', $value);

if( $committee_contact && count($committee_contact) == 2 ) {
return $committee_contact[1];
Expand All @@ -56,7 +56,7 @@ public function getConfiguration($key) {
if($configuration and !empty($configuration->getValue())) {
if ( 'committee.email' == $key ) {
$value = $configuration->getValue();
$committee_email = explode("\n", $value);
$committee_email = preg_split('/\r\n|\r|\n/', $value);

if( $committee_email ) {
return $committee_email[0];
Expand Down

0 comments on commit 89b3dfb

Please sign in to comment.