Changed field last_key to key_last

git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@1047 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
Abijah
2014-03-04 00:47:16 +00:00
parent d903fcb9e3
commit bda18fc78a
3 changed files with 11 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ class Lock extends AppModel {
$this->pr(5, compact('oldkey'));
if ($this->field('key') != $data['Lock']['key']) {
$data['Lock']['last_key'] = $this->field('key');
$data['Lock']['key_last'] = $this->field('key');
$data['Lock']['key_ts'] = date('Y-m-d G:i:s');
}