mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Update dict_check.phpt
This commit is contained in:
parent
3c41ab9ce9
commit
5dc3dadf71
@ -20,12 +20,13 @@ if (is_resource($broker)) {
|
||||
|
||||
if ($requestDict) {
|
||||
echo("OK\n");
|
||||
enchant_dict_add_to_personal($requestDict, $newWord);
|
||||
|
||||
if (enchant_dict_check($requestDict,$newWord)) {
|
||||
if (enchant_dict_check($requestDict, $newWord)) {
|
||||
echo("OK\n");
|
||||
|
||||
} else {
|
||||
echo("dict add to personal failed\n");
|
||||
echo("dict check new word failed\n");
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user