Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Fixes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmj committed Aug 2, 2011
1 parent 6f6f085 commit 0429d00
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions omeka-addons.php
Expand Up @@ -318,10 +318,9 @@ function save_post()
$this->add_attachment_release($last_attachment);
}
}

if(!empty($_POST['omeka_addons_delete'])) {
$this->delete_releases($_POST['omeka_addons_delete']);
}
}
if(!empty($_POST['omeka_addons_delete'])) {
$this->delete_releases($_POST['omeka_addons_delete']);
}
}

Expand Down Expand Up @@ -583,7 +582,7 @@ function _validate_ini_data($iniData, $addon_type)
}
if(!isset($iniData['link'])) {
$releaseData['status'] = 'warning';
$releaseData['messages'][] = __('link must be set');
$releaseData['messages'][] = __('link must be set, even if it to the addons page');

This comment has been minimized.

Copy link
@zerocrates

zerocrates Aug 2, 2011

Contributor

me talk pretty one day

}
if(!isset($iniData['support_link'])) {
$releaseData['status'] = 'error';
Expand Down

0 comments on commit 0429d00

Please sign in to comment.