Fixed. Added lost result message in the api call create tag
(cherry picked from commit 2798b2230a
)
This commit is contained in:
parent
32d63c66d7
commit
ce108bb54c
|
@ -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.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue