use trim on values when saving.
This commit is contained in:
parent
3ebeaec8ab
commit
4520902dd2
|
@ -792,7 +792,7 @@ function getFormChanges( $values, $newValues, $types=false, $columns=false )
|
|||
{
|
||||
if ( !isset($values[$key]) || ($values[$key] != $value) )
|
||||
{
|
||||
$changes[$key] = "$key = ".dbEscape($value);
|
||||
$changes[$key] = "$key = ".dbEscape(trim($value));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue