Closed stefanoortisi closed 8 years ago
I think "location" and "about" are the wrong ones
i searched for "location" on the code and it's always a string!
i saw you added check_input function on the backend to enforce it to be a string, but i believe if you need this better to do on the frontend only since on the backend it's always a string now?
can i delete the database again and remove the check_input from the backend so we see if that still happens?
thanks!
yeah i dont know why my profile had the location as an array. Anyway yeah, you can wipe the database and try without check_input :+1:
i removed the "check_input" from the backend code, you could move it to the frontend folder and we can try it again and figure out why this empty array is happening.
i checked the code on the backend and it seems that everything is a String, so not sure how this happens again //=
let's find the problem so then we don't need to have this little hack!
peace
@stefanoortisi i removed all the default attributes as Array and we deleted the database, let me know if it happens again for you.
it should not get any hack anywhere! it should be string everywhere and just work!
Hey @hems I still get some wrong default values for location and other attributes on my profile page
Could you have a look?