From 28efab9cc2e766b24599da0685143fed4d20801e Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 6 Sep 2008 11:59:14 +0000
Subject: [PATCH] Fix: Refresh button broken on ECM module

---
 htdocs/ecm/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 4558066b5b2..bde92b547a2 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -327,7 +327,7 @@ if (empty($action) || $action == 'file_manager' || eregi('refresh',$action))
 		$ecmdirstatic->ref=$val['label'];
 	
 		// Refresh cache
-		if ($_GET['action'] == 'refreshauto')
+		if (eregi('refresh',$_GET['action']))
 		{
 			$result=$ecmdirstatic->fetch($val['id']);
 			$ecmdirstatic->ref=$ecmdirstatic->label;
-- 
GitLab