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 dbe5fa6 commit 9f72187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tag_api.php
Expand Up @@ -228,7 +228,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 9f72187

Please sign in to comment.