01-11-2018, 08:44 AM
Hi, I have this problem which I wonder if it could be a bug:
When reading values from a sent form with "Input::get('fieldname')", any zero's ("0") at the end of the field are ignored. To test this, try adding a zero to a "Cron Name" field in the cron manager listing. It looks ok, but when you loade the page again, you see that the zero hasn't been saved to the database.
When using "$_POST['fieldname']" to read the values from a form, it works fine.
Do you see any solution to this problem?
Best regards
Kaare Grytting Bye :-)
When reading values from a sent form with "Input::get('fieldname')", any zero's ("0") at the end of the field are ignored. To test this, try adding a zero to a "Cron Name" field in the cron manager listing. It looks ok, but when you loade the page again, you see that the zero hasn't been saved to the database.
When using "$_POST['fieldname']" to read the values from a form, it works fine.
Do you see any solution to this problem?
Best regards
Kaare Grytting Bye :-)