Browse Source

fixed typo in basic image hook implementation

pull/108/head
Paul Pound 13 years ago
parent
commit
ce9ec6a4da
  1. 4
      islandora_basic_image/islandora_basic_image.module

4
islandora_basic_image/islandora_basic_image.module

@ -93,7 +93,7 @@ function islandora_basic_image_theme() {
* this module should attempt to respond.
* @return array
*/
function islandora_basic_image_get_types() {
function islandora_basic_image_islandora_get_types() {
return array('info:fedora/islandora:imgageCModel', 'info:fedora/islandora:sp_basic_image');
}
@ -111,7 +111,7 @@ function islandora_basic_image_get_types() {
*/
function islandora_basic_image_islandora_view_object($object, $user, $page_number, $page_size) {
//global $user;
$cmodel_list = islandora_basic_image_get_types();
$cmodel_list = islandora_basic_image_islandora_get_types();
$combined_list = array_intersect($cmodel_list, $object->models);
if (empty($combined_list)) {
return NULL;//we don't handle any of this objects cmodels

Loading…
Cancel
Save