Fixed. Added lost result message in the api call create tag

(cherry picked from commit 2798b2230a)
This commit is contained in:
mdtrooper 2015-03-10 12:35:31 +01:00
parent 32d63c66d7
commit ce108bb54c
1 changed files with 7 additions and 1 deletions

View File

@ -6707,7 +6707,13 @@ function api_set_create_tag ($id, $trash1, $other, $returnType) {
} }
} }
tags_create_tag ($data); if (tags_create_tag ($data)) {
returnData('string',
array('type' => 'string', 'data' => '1'));
}
else {
returnError('error_set_tag_user_profile', 'Error create tag user profile.');
}
} }