global wpdb. fixes #7767

git-svn-id: https://develop.svn.wordpress.org/trunk@8940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-09-19 17:18:29 +00:00
parent be4a2fc77a
commit 770a94862a
1 changed files with 2 additions and 0 deletions

View File

@ -1247,6 +1247,8 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
* displays pages in hierarchical order with paging support
*/
function page_rows($pages, $pagenum = 1, $per_page = 20) {
global $wpdb;
$level = 0;
if ( ! $pages ) {