diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 4558066b5b2ee6b7b0146b7af7d26508f521b87d..bde92b547a2f66c312c6ae5b1ff6a5aa03f1c957 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;