diff --git a/include/class.filter_action.php b/include/class.filter_action.php
index d2d2bef95eebd66d255f470413ce4fc9a96f6aa1..b78a8de313ae127a9037be9d29a2a46915b0caaa 100644
--- a/include/class.filter_action.php
+++ b/include/class.filter_action.php
@@ -188,16 +188,17 @@ class FA_UseReplyTo extends TriggerAction {
     static $name = /* @trans */ 'Use Reply-To Email';
 
     function apply(&$ticket, array $info) {
-        $config = $this->getConfiguration();
+        if (!$info['reply-to'])
+            // Nothing to do
+            return;
         $changed = $info['reply-to'] != $ticket['email']
             || ($info['reply-to-name'] && $ticket['name'] != $info['reply-to-name']);
-        if ($info['reply-to']) {
+        if ($changed) {
             $ticket['email'] = $info['reply-to'];
             if ($info['reply-to-name'])
                 $ticket['name'] = $info['reply-to-name'];
-        }
-        if ($changed)
             throw new FilterDataChanged($ticket);
+        }
     }
 
     function getConfigurationOptions() {