Merge branch 'seeddms-4.3.x' into seeddms-5.0.x

This commit is contained in:
Uwe Steinmann 2016-09-26 17:48:18 +02:00
commit dd5bc7d10e
2 changed files with 2 additions and 3 deletions

View File

@ -48,6 +48,6 @@ doc:
$(PHPDOC) -d SeedDMS_Core --ignore 'getusers.php,getfoldertree.php,config.php,reverselookup.php' --force -t html
apidoc:
apigen generate -s SeedDMS_Core --exclude tests --skip-doc-prefix tests -d html
apigen generate -s SeedDMS_Core --exclude tests -d html
.PHONY: webdav webapp

View File

@ -143,7 +143,7 @@ $(document).ready(function() {
?>
<table class="table-condensed">
<?php
if(!$workflow->isUsed()) {
if($workflow && !$workflow->isUsed()) {
?>
<tr><td></td><td><a class="standardText btn" href="../out/out.RemoveWorkflow.php?workflowid=<?php print $workflow->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_workflow");?></a></td></tr>
<?php
@ -288,7 +288,6 @@ $(document).ready(function() {
function form() { /* {{{ */
$selworkflow = $this->params['selworkflow'];
if($selworkflow)
$this->showWorkflowForm($selworkflow);
} /* }}} */