diff --git a/includes/api/ApiTemplateData.php b/includes/api/ApiTemplateData.php index 37903c6b..bf9c4992 100644 --- a/includes/api/ApiTemplateData.php +++ b/includes/api/ApiTemplateData.php @@ -98,7 +98,7 @@ class ApiTemplateData extends ApiBase { 'pp_propname' => 'templatedata' ], __METHOD__, - [ 'ORDER BY', 'pp_page' ] + [ 'ORDER BY' => 'pp_page' ] ); foreach ( $res as $row ) {