mirror of
https://github.com/opencultureconsulting/simple-oai-pmh.git
synced 2025-02-16 00:00:51 +01:00
parent
3d4c65dba7
commit
02f2df679b
@ -193,6 +193,11 @@ class Server {
|
||||
$this->errors[] = new Exception('badArgument');
|
||||
}
|
||||
}
|
||||
if (isset($this->args['from']) && isset($this->args['until'])) {
|
||||
if (strlen($this->args['from']) !== strlen($this->args['until'])) {
|
||||
$this->errors[] = new Exception('badArgument');
|
||||
}
|
||||
}
|
||||
if (isset($this->args['set'])) {
|
||||
$this->errors[] = new Exception('noSetHierarchy');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user