Followup to r70460 and r70461: Use true instead of 1
[lhc/web/wiklou.git] / includes / api / ApiEditPage.php
index 90f11f7..5b3afbe 100644 (file)
@@ -386,7 +386,7 @@ class ApiEditPage extends ApiBase {
                return array(
                        'title' => array(
                                ApiBase::PARAM_TYPE => 'string',
-                               ApiBase::PARAM_REQUIRED => 1
+                               ApiBase::PARAM_REQUIRED => true
                        ),
                        'section' => null,
                        'text' => null,