used

```php
switch ($field) {
	case 'links':
		# code...
	break;
	...
}
```

instead

```php
if($field === 'links')
```