Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -314,7 +314,7 @@ |
315 | 315 | __METHOD__, |
316 | 316 | array( 'ORDER BY' => 'page_title' ) ); |
317 | 317 | $form_names = array(); |
318 | | - while ( $row = $db->fetchRow( $res ) ) { |
| 318 | + while ( $row = $dbr->fetchRow( $res ) ) { |
319 | 319 | $form_names[] = str_replace( '_', ' ', $row[0] ); |
320 | 320 | } |
321 | 321 | $dbr->freeResult( $res ); |