Code Duplication    Length = 6-6 lines in 2 locations

sources/subs/ScheduledTask/ApprovalNotification.php 1 location

@@ 148-153 (lines=6) @@
145
		while ($row = $db->fetch_assoc($request))
146
		{
147
			// Check whether they are interested.
148
			if (!empty($row['mod_prefs']))
149
			{
150
				list (,, $pref_binary) = explode('|', $row['mod_prefs']);
151
				if (!($pref_binary & 4))
152
					continue;
153
			}
154
155
			$members[$row['id_member']] = array(
156
				'id' => $row['id_member'],

sources/controllers/ProfileOptions.controller.php 1 location

@@ 1063-1068 (lines=6) @@
1060
						continue;
1061
1062
					// Check whether they are interested.
1063
					if (!empty($member['mod_prefs']))
1064
					{
1065
						list (,, $pref_binary) = explode('|', $member['mod_prefs']);
1066
						if (!($pref_binary & 4))
1067
							continue;
1068
					}
1069
1070
					$replacements = array(
1071
						'RECPNAME' => $member['member_name'],