Skip to content

Commit 10ef2ff

Browse files
committedAug 27, 2012
Fix #14655: Filtering of tags starting with '0' not possible
1 parent 6f76cf6 commit 10ef2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/tag_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ function tag_get_all( $p_name_filter, $p_count, $p_offset) {
246246
$t_where = '';
247247
$t_where_params = array();
248248

249-
if ( $p_name_filter ) {
249+
if ( !is_blank( p_name_filter ) ) {
250250
$t_where = 'WHERE '.db_helper_like('name');
251251
$t_where_params[] = $p_name_filter.'%';
252252
}

0 commit comments

Comments
 (0)
Please sign in to comment.