summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/TicketSystem/RT_External.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm
index 667f0dc2d..ea3448039 100644
--- a/FS/FS/TicketSystem/RT_External.pm
+++ b/FS/FS/TicketSystem/RT_External.pm
@@ -109,7 +109,7 @@ sub _from_customer {
ON ( tickets.id = ObjectCustomFieldValues.ObjectId )";
$where = " AND content = ?
- AND disabled != 1
+ AND ObjectCustomFieldValues.disabled != 1
AND ObjectType = 'RT::Ticket'
AND $customfield_sql";