Permalink
Browse files

Fix #16940: undefined function db_params() in news_api.php

Regression introduced by 7efe017
(fix for issue #16880)
  • Loading branch information...
1 parent c0e5e47 commit 05b3bb4d0709dd42f00fd895b570f91d3665af3b @dregad dregad committed Feb 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/news_api.php
View
@@ -266,7 +266,7 @@ function news_get_limited_rows( $p_offset, $p_project_id = null ) {
if( 1 == count( $t_projects ) ) {
$c_project_id = $t_projects[0];
- $query .= " WHERE project_id=" . db_params();
+ $query .= " WHERE project_id=" . db_param();
$t_params = array( $c_project_id );
} else {
$query .= ' WHERE project_id IN (' . join( $t_projects, ',' ) . ')';

0 comments on commit 05b3bb4

Please sign in to comment.