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
Error when updating table with 0
#3
Hmm. I've never come across this before.

Are you getting an error about the field being required?

Looking at users/classes/Valdidate.php I see that line 46 says
Code:
if ($rule==='required'  &&  $length==0) {

I'm wondering if that length needs to be changed to ===

Can you see if that fixes your problem?
Sorry for the delay. Power is out here in my part of Alaska so communications are minimal.
  Reply


Messages In This Thread
Error when updating table with 0 - by Brandin - 09-06-2017, 09:23 AM
Error when updating table with 0 - by mudmin - 09-06-2017, 01:55 PM
Error when updating table with 0 - by mudmin - 09-06-2017, 02:50 PM
Error when updating table with 0 - by mudmin - 09-06-2017, 03:46 PM
Error when updating table with 0 - by faguss - 09-06-2017, 08:31 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)