From: Michael Vogel Date: Sun, 13 Jan 2013 14:05:24 +0000 (+0100) Subject: Adding the tag creating function to the function when a photo is tagged X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dc615dd9ddbd068f83ced55138e0f4f7a882ebe;p=friendica.git Adding the tag creating function to the function when a photo is tagged --- diff --git a/mod/photos.php b/mod/photos.php index 7035c66904..118149227e 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -5,7 +5,7 @@ require_once('include/acl_selectors.php'); require_once('include/bbcode.php'); require_once('include/security.php'); require_once('include/redir.php'); - +require_once('include/tags.php'); function photos_init(&$a) { @@ -559,6 +559,7 @@ function photos_post(&$a) { intval($item_id), intval($page_owner_uid) ); + create_tags_from_item($item_id); $best = 0; foreach($p as $scales) {