Project

General

Profile

Actions

Bug #166

closed

Input validation on Gateway editor needs work

Added by Jim Pingle about 15 years ago. Updated almost 15 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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 
Actions

Also available in: Atom PDF