The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
#7
I first found the bug when I was using the input class in my own code. I was using a form input type "number". When I read the value with Input::get('field'), the zero's at the end of the variable were gone. When I tested in a standard form in the system, like Cron Manager, it was the same with ordinary text field. The error is the same both in Inline Edit and in New Forms. When I remove the "trim" part of the Sanitize Function in the class, it works fine.
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)