Skip to content

Commit 52ac5d2

Browse files
gcompagnonrombert
authored andcommittedOct 14, 2011
Fix #11744: Failure getting tag candidates on MSSQL
make the query to get the available tags id , return the correct list
1 parent ef3759c commit 52ac5d2

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
@@ -419,7 +419,7 @@ function tag_get_candidates_for_bug( $p_bug_id ) {
419419
$t_subquery_results = array();
420420

421421
while( $row = db_fetch_array( $result ) ) {
422-
$t_subquery_results[] = (int)$row;
422+
$t_subquery_results[] = (int)$row['id'];
423423
}
424424

425425
if ( count ( $t_subquery_results ) == 0 ) {

0 commit comments

Comments
 (0)