* finish task#955.

This commit is contained in:
zhujinyong
2012-12-10 06:08:53 +00:00
parent 6f0cf77d47
commit 91c38f01e2
+1 -1
View File
@@ -1290,7 +1290,7 @@ class storyModel extends model
if($action == 'change') return $story->status != 'closed';
if($action == 'review') return $story->status == 'draft' or $story->status == 'changed';
if($action == 'close') return $story->status != 'closed';
if($action == 'activate') return $story->status == 'closed' and $story->closedReason == 'postponed';
if($action == 'activate') return $story->status == 'closed';
return true;
}