Fixed. Added lost result message in the api call create tag
This commit is contained in:
parent
e7f55390a1
commit
2798b2230a
|
@ -7258,7 +7258,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.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue