- Patch #136202 by asimmonds: fixed indefined variable notice.

Backport from HEAD.
5.x
Neil Drumm 2007-04-18 04:32:01 +00:00
parent 3dc364543e
commit cfcbd1a3c1
1 changed files with 1 additions and 0 deletions

View File

@ -1265,6 +1265,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p
* taxonomy_select_nodes(), and formats each node along with a pager.
*/
function taxonomy_render_nodes($result) {
$output = '';
if (db_num_rows($result) > 0) {
while ($node = db_fetch_object($result)) {
$output .= node_view(node_load($node->nid), 1);