4
0
Эх сурвалжийг харах

Merge pull request #2399 from aledeg/fix/filter-action

Fix filter action display
Alexandre Alapetite 6 жил өмнө
parent
commit
06a48d84b6

+ 1 - 1
app/views/helpers/feed/update.phtml

@@ -240,7 +240,7 @@
 			<div class="group-controls">
 			<div class="group-controls">
 				<textarea name="filteractions_read" id="filteractions_read"><?php
 				<textarea name="filteractions_read" id="filteractions_read"><?php
 					foreach ($this->feed->filtersAction('read') as $filterRead) {
 					foreach ($this->feed->filtersAction('read') as $filterRead) {
-						echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), "\n\n";
+						echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), PHP_EOL;
 					}
 					}
 				?></textarea>
 				?></textarea>
 				<?php echo _i('help'); ?> <?php echo _t('sub.feed.filteractions.help'); ?>
 				<?php echo _i('help'); ?> <?php echo _t('sub.feed.filteractions.help'); ?>