global wpdb. fixes #7767

git-svn-id: http://svn.automattic.com/wordpress/trunk@8940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-19 17:18:29 +00:00
parent 76718590f8
commit dfc1d78fa9
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 ) {