rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
b24ed7506d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);