[Web] More and more fixes for #1017

master
André Peters 2018-02-11 15:59:35 +01:00
parent c529de9c36
commit 5030ce7547
1 changed files with 9 additions and 9 deletions

View File

@ -126,7 +126,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
$stmt = $pdo->prepare("SELECT `option`, `value` FROM `filterconf` $stmt = $pdo->prepare("SELECT `option`, `value` FROM `filterconf`
@ -172,7 +172,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -182,7 +182,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -213,7 +213,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -223,7 +223,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -264,7 +264,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -274,7 +274,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -305,7 +305,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }
@ -315,7 +315,7 @@ while ($row = array_shift($rows)) {
<?php <?php
foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) { foreach (ucl_rcpts($row['object'], strpos($row['object'], '@') === FALSE ? 'domain' : 'mailbox') as $rcpt) {
?> ?>
rcpt = "<?=$rcpt;?>"; rcpt = <?=json_encode($rcpt);?>;
<?php <?php
} }
} }