Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -768,7 +768,7 @@ |
769 | 769 | $pageTable = $dbr->tableName( 'page' ); |
770 | 770 | $where = $lb->constructSet( 'page', $dbr ); |
771 | 771 | $propsTable = $dbr->tableName( 'page_props' ); |
772 | | - $sql = "SELECT page_id, page_namespace, page_title, page_len, page_is_redirect, pp_value |
| 772 | + $sql = "SELECT page_id, page_namespace, page_title, page_len, page_is_redirect, page_latest, pp_value |
773 | 773 | FROM $pageTable LEFT JOIN $propsTable ON pp_propname='hiddencat' AND pp_page=page_id WHERE $where"; |
774 | 774 | $res = $dbr->query( $sql, __METHOD__ ); |
775 | 775 | |