dever 7 лет назад
Родитель
Сommit
07d4a88961
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Applet.php

+ 1 - 1
src/Applet.php

@@ -249,7 +249,7 @@ class Applet extends Base
                 $update['set_username'] = $name;
             }
             
-            if ($sex) {
+            if ($sex || $sex == 0) {
                 $update['set_sex'] = $this->saveSex($sex);
             }