diff options
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index 561a69cd5..d9a0d1818 100644 --- a/include/identity.php +++ b/include/identity.php @@ -560,9 +560,10 @@ function identity_basic_export($channel_id, $items = false) { $datestamp = datetime_convert(); - $r = q("select obj.*, term.term as obj_term, term.url as obj_url, term.imgurl as obj_imgurl, '%s' as obj_created, '%s' as obj_edited from obj left join term on obj_obj = term.term_hash where obj_channel = %d", + $r = q("select obj.*, term.term as obj_term, term.url as obj_url, term.imgurl as obj_imgurl, '%s' as obj_created, '%s' as obj_edited, '%s' as obj_baseurl from obj left join term on obj_obj = term.term_hash where obj_channel = %d", dbesc($datestamp), dbesc($datestamp), + dbesc(z_root()), intval($channel_id) ); |