diff --git a/module/project/control.php b/module/project/control.php index a5887cbd1a..8b716d2205 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -916,7 +916,6 @@ class project extends control $acl = 'open'; $plan = new stdClass(); $productPlan = array(); - if($copyProjectID) { $copyProject = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->eq($copyProjectID)->fetch(); @@ -927,7 +926,6 @@ class project extends control $whitelist = $copyProject->whitelist; $products = $this->project->getProducts($copyProjectID); } - if(!empty($planID)) { $plan = $this->dao->select('*')->from(TABLE_PRODUCTPLAN)->where('id')->eq($planID)->fetch(); diff --git a/module/user/view/profile.html.php b/module/user/view/profile.html.php index 9d8f5aee0c..6701a83e30 100644 --- a/module/user/view/profile.html.php +++ b/module/user/view/profile.html.php @@ -60,6 +60,10 @@ user->role;?> user->roleList[$user->role];?> + + user->join;?> + join;?> + user->commiter;?> commiter;?>