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.
This commit is contained in:
Alexis Degrugillier
2016-03-06 12:51:39 +01:00
parent 765f9802b4
commit 5f04462e55

View File

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