Skip to content

Commit

Permalink
Merge pull request #20 from Indicia-Team/hotfix-sample_syntax_error
Browse files Browse the repository at this point in the history
Hotfix sample syntax error
  • Loading branch information
johnvanbreda committed Oct 8, 2015
2 parents af907b4 + 2270935 commit f245b6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions application/config/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/**
* @var string The application files version number.
*/
$config['version'] = '0.9.1.5';
$config['release_date'] = '2015-10-07';
$config['version'] = '0.9.1.6';
$config['release_date'] = '2015-10-08';
$config['repository'] = 'https://github.com/Indicia-Team/warehouse/releases';

?>
2 changes: 1 addition & 1 deletion application/models/sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function validate(Validation $array, $save = FALSE)

if ($this->id && preg_match('/[RDV]/', $this->record_status) &&
(empty($this->submission['fields']['record_status']) || $this->submission['fields']['record_status']['value']==='C') &&
&& $this->wantToUpdateMetadata) {
$this->wantToUpdateMetadata) {
// If we update a processed occurrence but don't set the verification state, revert it to completed/awaiting verification.
$array->verified_by_id=null;
$array->verified_on=null;
Expand Down

0 comments on commit f245b6a

Please sign in to comment.