fix bug with duplicate tickets showing up on customer view listing when the custom...
[freeside.git] / FS / FS / TicketSystem / RT_External.pm
index d951cc0..667f0dc 100644 (file)
@@ -109,6 +109,7 @@ sub _from_customer {
                  ON ( tickets.id = ObjectCustomFieldValues.ObjectId )";
       
       $where = " AND content = ?
+                 AND disabled != 1
                  AND ObjectType = 'RT::Ticket'
                  AND $customfield_sql";