mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Fixed. Added lost result message in the api call create tag
(cherry picked from commit 2798b2230a40e6873b1082d638b0605d3b452527)
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…
x
Reference in New Issue
Block a user