Project

General

Profile

Bug #166

Input validation on Gateway editor needs work

Added by Jim Pingle over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
11/18/2009
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

When attempting to save a Gateway with a space in the name (e.g "a b") the input validation throws an error as it should, but it also spits out a few PHP errors:

Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 106 
Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 110 
Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 114 

History

#1 Updated by Seth Mos over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Seth Mos
  • % Done changed from 0 to 100

Hi Jim,

I added a fix in CVS, I use the in_array arguments in the wrong order and was using the wrong variable name in another.

Please test.

#2 Updated by Jim Pingle over 9 years ago

  • Status changed from Feedback to Closed

Confirmed, this works fine now.
Thanks!

Also available in: Atom PDF