From 2a8e369daa3db77769d00ff2270566a02e9759a5 Mon Sep 17 00:00:00 2001 From: Michael McGrath Date: Tue, 26 Feb 2008 16:14:01 -0600 Subject: [PATCH] This might break bugzilla syncs, not sure. Right now though it does allow us to delete members --- fas/fas2.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fas/fas2.sql b/fas/fas2.sql index 3a4edae..ced9430 100644 --- a/fas/fas2.sql +++ b/fas/fas2.sql @@ -276,6 +276,8 @@ create or replace function bugzilla_sync() returns trigger as $bz_sync$ row = TD['new'] # If this is not a fedorabugs role, no change needed + if not row: + return None if row['group_id'] != result[0]['id']: return None