Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9f72187

Browse files
committedAug 27, 2012
Fix #14655: Filtering of tags starting with '0' not possible
1 parent dbe5fa6 commit 9f72187

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
@@ -228,7 +228,7 @@ function tag_get_all( $p_name_filter, $p_count, $p_offset) {
228228
$t_where = '';
229229
$t_where_params = array();
230230

231-
if ( $p_name_filter ) {
231+
if ( !is_blank( $p_name_filter ) ) {
232232
$t_where = 'WHERE '.db_helper_like('name');
233233
$t_where_params[] = $p_name_filter.'%';
234234
}

0 commit comments

Comments
 (0)
Please sign in to comment.