diff --git a/module/programplan/model.php b/module/programplan/model.php index 88db39867e..ed7d761bd3 100755 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -1046,7 +1046,7 @@ class programplanModel extends model $this->dao->update(TABLE_PROJECT)->set('path')->eq($path['path'])->set('grade')->eq($path['grade'])->where('id')->eq($stage->id)->exec(); - if(count($children) > 0) + if(!empty($children)) { foreach($children as $id => $child) $this->setTreePath($id); } diff --git a/module/testsuite/view/linkcase.html.php b/module/testsuite/view/linkcase.html.php index e1bf64774f..d7e6927384 100644 --- a/module/testsuite/view/linkcase.html.php +++ b/module/testsuite/view/linkcase.html.php @@ -26,6 +26,13 @@
+ +
+

+ testcase->noCase;?> +

+
+
 testsuite->unlinkedCases;?> (recTotal;?>) @@ -87,5 +94,6 @@
+