diff options
author | zotlabs <mike@macgirvin.com> | 2017-12-03 19:12:55 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-12-03 19:12:55 -0800 |
commit | 1c821640cec383ab3ac02834cd560edd48111c08 (patch) | |
tree | 11750b3df26efc1c10b5ed250b2bba852b4de1e5 | |
parent | 7ed80bf44320a9fd2baf9cb949399589c7d88e33 (diff) | |
download | volse-hubzilla-1c821640cec383ab3ac02834cd560edd48111c08.tar.gz volse-hubzilla-1c821640cec383ab3ac02834cd560edd48111c08.tar.bz2 volse-hubzilla-1c821640cec383ab3ac02834cd560edd48111c08.zip |
pagetitle lost importing a pdl element from conversation
-rw-r--r-- | Zotlabs/Module/Impel.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Layouts.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Impel.php b/Zotlabs/Module/Impel.php index 77f488d26..0c372bd96 100644 --- a/Zotlabs/Module/Impel.php +++ b/Zotlabs/Module/Impel.php @@ -26,6 +26,8 @@ class Impel extends \Zotlabs\Web\Controller { if(! $j) json_return_and_die($ret); + // logger('element: ' . print_r($j,true)); + $channel = \App::get_channel(); $arr = array(); diff --git a/Zotlabs/Module/Layouts.php b/Zotlabs/Module/Layouts.php index 34d754029..19efb37fd 100644 --- a/Zotlabs/Module/Layouts.php +++ b/Zotlabs/Module/Layouts.php @@ -162,12 +162,12 @@ class Layouts extends \Zotlabs\Web\Controller { 'created' => $rr['created'], 'edited' => $rr['edited'], 'mimetype' => $rr['mimetype'], - 'pagetitle' => $rr['sid'], + 'pagetitle' => urldecode($rr['v']), 'mid' => $rr['mid'] ); $pages[$rr['iid']][] = array( 'url' => $rr['iid'], - 'title' => $rr['v'], + 'title' => urldecode($rr['v']), 'descr' => $rr['title'], 'mid' => $rr['mid'], 'created' => $rr['created'], |