rabin 3 years ago
parent
commit
b24ed7506d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tool/work/lib/Manage.php

+ 1 - 1
tool/work/lib/Manage.php

@@ -80,7 +80,7 @@ Class Manage
 			$w = array();
 			$w['where_id'] = $log['id'];
 			$w['fdate'] = time();
-			if($type == 1){
+			if($update['status'] == 4){
 				$w['cloce_date'] = time();
 			}
 			Dever::db('work/info_log')->update($w);