dever 7 năm trước cách đây
mục cha
commit
07d4a88961
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
             }