The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible bug: Ignoring zero's at the end of form fields
#1
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 :-)
  Reply


Messages In This Thread
Possible bug: Ignoring zero's at the end of form fields - by kaaregb - 01-11-2018, 08:44 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)