Skip to content

Commit

Permalink
(issue coral-erm#687 ) : Updates ajax_forms.php
Browse files Browse the repository at this point in the history
(issue coral-erm#687 ) : Removes the IF/THEN statement from ajax_forms.php, always displaying an "Add Category" link in the Edit Document form.
  • Loading branch information
streatim committed May 17, 2022
1 parent 054a473 commit a96ec77
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions management/ajax_forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,19 +164,8 @@
}
?>
</span>

<?php
$config = new Configuration;

//if the org module is not installed allow to add consortium from this screen
if (($config->settings->organizationsModule == 'N') || (!$config->settings->organizationsModule)){
?>
<br />
<span id='span_newConsortium'><a href="javascript:newConsortium();"><?php echo _("add category");?></a></span>
<?php
}
?>

</td>
</tr>
<?php
Expand Down

0 comments on commit a96ec77

Please sign in to comment.