Skip to content

Instantly share code, notes, and snippets.

@Cipa
Created March 29, 2013 00:46
Show Gist options
  • Save Cipa/5267977 to your computer and use it in GitHub Desktop.
Save Cipa/5267977 to your computer and use it in GitHub Desktop.
ditto/list filter.class.inc.php a new filter
case 12 : // if not in comma delimited list
//works well with checkboxes configured to output a comma separated id list
if(!in_array($this->filterValue, explode(',', $value[$this->array_key])))
$unset = 0;
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment