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 9adf446 commit 7fef194b391886e05719aeb438219c26a278db4d @dregad dregad committed Feb 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/news_api.php
View
@@ -295,7 +295,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 7fef194

Please sign in to comment.