Skip to content

Commit

Permalink
Fix #14655: Filtering of tags starting with '0' not possible
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Aug 27, 2012
1 parent 6f76cf6 commit 10ef2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tag_api.php
Expand Up @@ -246,7 +246,7 @@ function tag_get_all( $p_name_filter, $p_count, $p_offset) {
$t_where = '';
$t_where_params = array();

if ( $p_name_filter ) {
if ( !is_blank( p_name_filter ) ) {
$t_where = 'WHERE '.db_helper_like('name');
$t_where_params[] = $p_name_filter.'%';
}
Expand Down

0 comments on commit 10ef2ff

Please sign in to comment.