Change API result data structure to be cleaner in new formats
[lhc/web/wiklou.git] / includes / api / ApiPageSet.php
index 02a25fe..e6f218d 100644 (file)
@@ -96,7 +96,7 @@ class ApiPageSet extends ApiBase {
                                $v = $val;
                        }
                        if ( $flag !== null ) {
-                               $v[$flag] = '';
+                               $v[$flag] = true;
                        }
                        $result[] = $v;
                }