diff --git a/db/update12.4.sql b/db/update12.4.sql new file mode 100644 index 0000000000..86a1e93519 --- /dev/null +++ b/db/update12.4.sql @@ -0,0 +1 @@ +update zt_action set `project` = `extra` where action = 'unlinkedfromproject' and `project` = 0; diff --git a/module/productplan/control.php b/module/productplan/control.php index bd36167615..6e782c3e99 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -266,8 +266,8 @@ class productplan extends control $this->commonAction($plan->product, $plan->branch); $products = $this->product->getPairs(); - $bugPager = new pager($type == 'bug' ? $recTotal : 0, $recPerPage, $type == 'bug' ? $pageID : 1); - $storyPager = new pager($type == 'story' ? $recTotal : 0, $recPerPage, $type == 'story' ? $pageID : 1); + $bugPager = new pager(0, $recPerPage, $type == 'bug' ? $pageID : 1); + $storyPager = new pager(0, $recPerPage, $type == 'story' ? $pageID : 1); $planStories = $this->loadModel('story')->getPlanStories($planID, 'all', $type == 'story' ? $sort : 'id_desc', $storyPager); if($reSort) { diff --git a/module/repo/control.php b/module/repo/control.php index 16bc29735d..3fadef9f41 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -548,7 +548,7 @@ class repo extends control if(isset($pathInfo["extension"])) $suffix = strtolower($pathInfo["extension"]); $arrange = $this->cookie->arrange ? $this->cookie->arrange : 'inline'; - if(!empty($_POST)) + if($this->server->request_method) { $oldRevision = isset($this->post->revision[1]) ?$this->post->revision[1] : ''; $newRevision = isset($this->post->revision[0]) ?$this->post->revision[0] : ''; diff --git a/module/repo/view/ajaxsidecommits.html.php b/module/repo/view/ajaxsidecommits.html.php index 1f8e9453dc..5157efda55 100644 --- a/module/repo/view/ajaxsidecommits.html.php +++ b/module/repo/view/ajaxsidecommits.html.php @@ -50,7 +50,6 @@ if(isset($entry)) $pathInfo .= '&type=file';