Keep UUID

Fixed the broken implementation.
This commit is contained in:
Hakim Zulkufli 2017-04-30 01:43:32 +08:00
parent 5b6ae22f6a
commit 27be5be17b
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class dbPosts extends dbJSON
$args['dateModified'] = Date::current(DB_DATE_FORMAT);
// Keep UUID
$args['uuid'] = $this->uuid();
$args['uuid'] = $this->db[$args['key']]['uuid'];
if( $this->delete($args['key']) ) {
return $this->add($args);