Keep UUID
Fixed the broken implementation.
This commit is contained in:
parent
5b6ae22f6a
commit
27be5be17b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user