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
< in Passwords
#11
Ah, we forgot an
Code:
else
!

Code:
else {
Code:
if (!$bypassSanitize) $postItem = self::sanitize($_POST[$item]);
Code:
else $postItem = $_POST[$item];
Code:
return $postItem;
Code:
}
as well as
Code:
else {
Code:
if (!$bypassSanitize) $getItem = self::sanitize($_GET[$item]);
Code:
else $getItem = $_GET[$item];
Code:
return $getItem;
Code:
}

I'd probably rearrange the logic to remove the
Code:
not
so its more straightforward but this should fix the other inputs.
  Reply


Messages In This Thread
< in Passwords - by Brandin - 07-03-2017, 06:33 PM
< in Passwords - by karsen - 07-09-2017, 07:28 PM
< in Passwords - by Brandin - 07-12-2017, 11:30 AM
< in Passwords - by mudmin - 07-12-2017, 12:26 PM
< in Passwords - by Brandin - 07-13-2017, 10:05 PM
< in Passwords - by karsen - 07-15-2017, 04:27 PM
< in Passwords - by Brandin - 07-16-2017, 06:10 PM
< in Passwords - by karsen - 07-16-2017, 08:34 PM
< in Passwords - by Brandin - 07-18-2017, 12:15 PM
< in Passwords - by Brandin - 07-18-2017, 12:18 PM
< in Passwords - by karsen - 07-18-2017, 05:13 PM
< in Passwords - by Brandin - 07-18-2017, 06:23 PM
< in Passwords - by karsen - 07-18-2017, 06:40 PM
< in Passwords - by Brandin - 07-18-2017, 06:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)