diff --git a/islandora.module b/islandora.module index a72f4fb7c..f8738259d 100644 --- a/islandora.module +++ b/islandora.module @@ -920,14 +920,14 @@ function islandora_object_datastream_tokened_access_callback($perm, $object = NU * * @param array $perms * Array of user permission to test for. - * @param AbstractObject $object - * The object to test, if NULL given the object doesn't exist or is + * @param AbstractObject|bool|null $object + * The object to test, if NULL or false given the object doesn't exist or is * inaccessible. * * @return bool * TRUE if the user is allowed to access this object, FALSE otherwise. */ -function islandora_object_manage_access_callback(array $perms, AbstractObject $object = NULL) { +function islandora_object_manage_access_callback(array $perms, $object = NULL) { module_load_include('inc', 'islandora', 'includes/utilities'); if (!$object && !islandora_describe_repository()) {