Browse Source

Adding the tag creating function to the function when a photo is tagged

pull/621/head
Michael Vogel 8 years ago
parent
commit
3dc615dd9d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mod/photos.php

+ 2
- 1
mod/photos.php View 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) {


Loading…
Cancel
Save