SpecialPagesWithProp: convert implicit join into join_conds
[lhc/web/wiklou.git] / includes / specials / SpecialPagesWithProp.php
index 26d0fe8..f211ec9 100644 (file)
@@ -113,9 +113,11 @@ class SpecialPagesWithProp extends QueryPage {
                                'pp_value',
                        ),
                        'conds' => array(
-                               'page_id = pp_page',
                                'pp_propname' => $this->propName,
                        ),
+                       'join_conds' => array(
+                               'page' => array( 'INNER JOIN', 'page_id = pp_page' )
+                       ),
                        'options' => array()
                );
        }