Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BUG) pada biodata penduduk kolom Kelahiran Anak ke tampil sebagai '0' jika kosong. #2034

Closed
benioke opened this issue May 2, 2019 · 2 comments
Labels

Comments

@benioke
Copy link

benioke commented May 2, 2019

Bagaimana alurnya sampai muncul masalah?

Bug nya hampir sama seperti issue #2006 yang sudah diperbaiki di opensid ver 19.05. Sekarang pada Kolom Kelahiran Anak ke menampilkan '0' jika masih kosong
IMG_20190501_211502

Seperti apa yang diharapkan?
Harus nya tidak tampil '0' karna masih kosong
LAHIR 2 copy

Apa yang terjadi?
Angka '0' muncul otomatis dan tidak bisa dihapus

Informasi tambahan

Tanya Jawab
Versi OpenSID 19.05
Versi PHP
System operasi
@Galiarta
Copy link
Contributor

Galiarta commented May 2, 2019

Bisa dicoba ditambahkan
if ($data['kelahiran_anak_ke'] == '') $data['kelahiran_anak_ke'] = NULL; di penduduk model dan
setting kelahiran_anak_ke menjadi NULL defaultnya di database.

@eddieridwan benar seperti itu pak?

Galiarta added a commit to Galiarta/OpenSID that referenced this issue May 2, 2019
@eddieridwan eddieridwan added the bug label May 3, 2019
eddieridwan added a commit that referenced this issue May 3, 2019
@eddieridwan
Copy link
Collaborator

Sudah dicommit ke master melalui PR #2035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants