Code Duplication    Length = 7-7 lines in 2 locations

src/filters/create.php 1 location

@@ 210-216 (lines=7) @@
207
                    }
208
                }
209
210
                if (($filter_flags & FILTER_FLAG_CREATED_BY) != 0)
211
                {
212
                    foreach ($_REQUEST['created_by'] as $item)
213
                    {
214
                        dal_query('filters/facreate.sql', $id, FILTER_FLAG_CREATED_BY, $item);
215
                    }
216
                }
217
218
                if (($filter_flags & FILTER_FLAG_ASSIGNED_TO) != 0)
219
                {

src/filters/modify.php 1 location

@@ 128-134 (lines=7) @@
125
126
            dal_query('filters/fadelall.sql',  $id, $_SESSION[VAR_USERID]);
127
128
            if (($filter_flags & FILTER_FLAG_CREATED_BY) != 0)
129
            {
130
                foreach ($_REQUEST['created_by'] as $item)
131
                {
132
                    dal_query('filters/facreate.sql', $id, FILTER_FLAG_CREATED_BY, $item);
133
                }
134
            }
135
136
            if (($filter_flags & FILTER_FLAG_ASSIGNED_TO) != 0)
137
            {