fix inconsistency in list_name required length

git-svn-id: svn://192.168.202.10@3799 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2024-01-17 01:55:53 +00:00
parent 0780b2cd5d
commit 3e4a361310
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7711,7 +7711,7 @@ if ($function == 'add_list')
}
else
{
if ( (strlen($list_id)<2) or (strlen($list_id)>14) or (strlen($campaign_id)<1) or (strlen($campaign_id)>8) or (strlen($list_name)<6) or (strlen($list_name)>30) )
if ( (strlen($list_id)<2) or (strlen($list_id)>14) or (strlen($campaign_id)<1) or (strlen($campaign_id)>8) or (strlen($list_name)<2) or (strlen($list_name)>30) )
{
$result = 'ERROR';
$result_reason = "add_list YOU MUST USE ALL REQUIRED FIELDS";