Added ability to use custom_fields_copy on update_list on a deleted list_id in the Non-Agent API
git-svn-id: svn://192.168.202.10@3412 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2021-03-25
|
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2021-03-30
|
||||||
|
|
||||||
This document describes the functions of an API(Application Programming
|
This document describes the functions of an API(Application Programming
|
||||||
Interface) for all functions NOT directly relating to the VICIDIAL Agent screen.
|
Interface) for all functions NOT directly relating to the VICIDIAL Agent screen.
|
||||||
@@ -182,6 +182,7 @@ Changes:
|
|||||||
210320-2127 - Added 'custom_fields_add' option for update_list function
|
210320-2127 - Added 'custom_fields_add' option for update_list function
|
||||||
210322-1218 - Added display of bad wav file formats on sounds_list function
|
210322-1218 - Added display of bad wav file formats on sounds_list function
|
||||||
210325-2042 - Added more data output fields to agent_stats_export function
|
210325-2042 - Added more data output fields to agent_stats_export function
|
||||||
|
210330-1633 - Added ability to use custom_fields_copy on update_list on a deleted list_id
|
||||||
|
|
||||||
API Functions use the 'function' variable
|
API Functions use the 'function' variable
|
||||||
|
|
||||||
|
|||||||
@@ -172,10 +172,11 @@
|
|||||||
# 210325-2042 - Added more data output fields to agent_stats_export function
|
# 210325-2042 - Added more data output fields to agent_stats_export function
|
||||||
# 210328-2140 - Added more variable filtering
|
# 210328-2140 - Added more variable filtering
|
||||||
# 210329-2016 - Fixed for consistent custom fields values filtering
|
# 210329-2016 - Fixed for consistent custom fields values filtering
|
||||||
|
# 210330-1633 - Added ability to use custom_fields_copy on update_list on a deleted list_id
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.14-149';
|
$version = '2.14-150';
|
||||||
$build = '210329-2016';
|
$build = '210330-1633';
|
||||||
$api_url_log = 0;
|
$api_url_log = 0;
|
||||||
|
|
||||||
$startMS = microtime();
|
$startMS = microtime();
|
||||||
@@ -5246,7 +5247,7 @@ if ($function == 'update_list')
|
|||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$row=mysqli_fetch_row($rslt);
|
$row=mysqli_fetch_row($rslt);
|
||||||
$list_exists=$row[0];
|
$list_exists=$row[0];
|
||||||
if ( ($list_exists < 1) and ($custom_fields_add != 'Y') )
|
if ( ($list_exists < 1) and ($custom_fields_add != 'Y') and ( (strlen($custom_fields_copy) < 1) or (strlen($custom_fields_copy) > 14) ) )
|
||||||
{
|
{
|
||||||
if ($insert_if_not_found == 'Y')
|
if ($insert_if_not_found == 'Y')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user