* (bug 28392) mark action=undelete&timestamps as type "timestamp"
[lhc/web/wiklou.git] / includes / api / ApiUndelete.php
index 615b224..509c1f8 100644 (file)
@@ -103,7 +103,8 @@ class ApiUndelete extends ApiBase {
                        'token' => null,
                        'reason' => '',
                        'timestamps' => array(
-                               ApiBase::PARAM_ISMULTI => true
+                               ApiBase::PARAM_TYPE => 'timestamp',
+                               ApiBase::PARAM_ISMULTI => true,
                        ),
                        'watchlist' => array(
                                ApiBase::PARAM_DFLT => 'preferences',