]> git.mxchange.org Git - friendica.git/commitdiff
Adding the tag creating function to the function when a photo is tagged
authorMichael Vogel <icarus@dabo.de>
Sun, 13 Jan 2013 14:05:24 +0000 (15:05 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 13 Jan 2013 14:05:24 +0000 (15:05 +0100)
mod/photos.php

index 7035c66904897ffae8c1bcd407a2692b1ae2ee1d..118149227e6bd92ba8d8c060293b6dff367ee2c9 100644 (file)
@@ -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) {