Usage of /display/(guid) as path instead of /display/(user)/(id)

Bugfix for adding tags to photos
This commit is contained in:
Michael Vogel 2014-07-22 00:36:20 +02:00
commit ed1dce93d6
16 changed files with 216 additions and 144 deletions

View file

@ -138,10 +138,10 @@ EOT;
$post_id = item_store($arr);
q("UPDATE `item` set plink = '%s' where id = %d",
dbesc($a->get_baseurl() . '/display/' . $owner_nick . '/' . $post_id),
intval($post_id)
);
// q("UPDATE `item` set plink = '%s' where id = %d",
// dbesc($a->get_baseurl() . '/display/' . $owner_nick . '/' . $post_id),
// intval($post_id)
// );
if(! $item['visible']) {