From 91c38f01e221ee8a594e50093c4b8bf5bebbb8c6 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 10 Dec 2012 06:08:53 +0000 Subject: [PATCH] * finish task#955. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index d691bdb13c..024e8aa603 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -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; }