From 27be5be17b4d7b54adb2283822c89e5f7332a385 Mon Sep 17 00:00:00 2001 From: Hakim Zulkufli Date: Sun, 30 Apr 2017 01:43:32 +0800 Subject: [PATCH] Keep UUID Fixed the broken implementation. --- bl-kernel/dbposts.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/dbposts.class.php b/bl-kernel/dbposts.class.php index 64614500..1dda02b6 100644 --- a/bl-kernel/dbposts.class.php +++ b/bl-kernel/dbposts.class.php @@ -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);