Browse Source

Fix redirection while deleting a feed

Before, when deleting a feed from the statistics idle page, there was an error in the redirection process.
Now, the redirection works properly and redirects to the idle page.
Alexis Degrugillier 10 years ago
parent
commit
5f04462e55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/views/stats/idle.phtml

+ 2 - 2
app/views/stats/idle.phtml

@@ -6,10 +6,10 @@
 	<h1><?php echo _t('admin.stats.idle'); ?></h1>
 	<h1><?php echo _t('admin.stats.idle'); ?></h1>
 
 
 	<?php
 	<?php
-		$current_url = urlencode(Minz_Url::display(
+		$current_url = Minz_Url::display(
 			array('c' => 'stats', 'a' => 'idle'),
 			array('c' => 'stats', 'a' => 'idle'),
 			'php', true
 			'php', true
-		));
+		);
 		$nothing = true;
 		$nothing = true;
 		foreach ($this->idleFeeds as $period => $feeds) {
 		foreach ($this->idleFeeds as $period => $feeds) {
 			if (!empty($feeds)) {
 			if (!empty($feeds)) {