Followup to r70460 and r70461: Use true instead of 1
[lhc/web/wiklou.git] / includes / api / ApiMove.php
index 4c52d3d..e3e7ab7 100644 (file)
@@ -171,7 +171,7 @@ class ApiMove extends ApiBase {
                        ),
                        'to' => array(
                                ApiBase::PARAM_TYPE => 'string',
-                               ApiBase::PARAM_REQUIRED => 1
+                               ApiBase::PARAM_REQUIRED => true
                        ),
                        'token' => null,
                        'reason' => null,