mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
PHRAS-3584
fix api/v1/.../setcover ("Sub definition substituer locator was not set") original ticket #PHRAS-3592
This commit is contained in:
@@ -1052,7 +1052,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
|
||||
foreach ($mandatoryParams as $k) {
|
||||
if (!array_key_exists($k, $params)) {
|
||||
throw new Exception_InvalidArgument(sprintf('Invalid metadata, missing key %s', $param));
|
||||
throw new Exception_InvalidArgument(sprintf('Invalid metadata, missing key %s', $k));
|
||||
}
|
||||
$params[$k] = trim($params[$k]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user