aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-04 16:56:52 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-04 16:56:52 +0100
commiteaefb362129b9d1731d809822232f1d35c95b871 (patch)
tree42c99a766ccefbd9c21f340fd632718cc899ede7 /Zotlabs
parenta2f6f48daf3e84a75f9e1ad50c78fffae9f18fc9 (diff)
downloadvolse-hubzilla-eaefb362129b9d1731d809822232f1d35c95b871.tar.gz
volse-hubzilla-eaefb362129b9d1731d809822232f1d35c95b871.tar.bz2
volse-hubzilla-eaefb362129b9d1731d809822232f1d35c95b871.zip
we need item edited for wiki page history, not item created
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/NativeWikiPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php
index af0286997..25e454cb7 100644
--- a/Zotlabs/Lib/NativeWikiPage.php
+++ b/Zotlabs/Lib/NativeWikiPage.php
@@ -188,7 +188,7 @@ class NativeWikiPage {
$processed ++;
$history[] = [
'revision' => $item['revision'],
- 'date' => datetime_convert('UTC',date_default_timezone_get(),$item['created']),
+ 'date' => datetime_convert('UTC',date_default_timezone_get(),$item['edited']),
'name' => $item['author']['xchan_name'],
'title' => get_iconfig($item,'nwikipage','commit_msg')
];