[smoothoperator] r4185 committed - Don't delete existing records

0 views
Skip to first unread message

smootho...@googlecode.com

unread,
Apr 10, 2013, 4:30:21 PM4/10/13
to smootho...@googlegroups.com
Revision: 4185
Author: ma...@venturevoip.com
Date: Wed Apr 10 13:30:11 2013
Log: Don't delete existing records
http://code.google.com/p/smoothoperator/source/detail?r=4185

Modified:
/SmoothOperatorCRM/dialer.php

=======================================
--- /SmoothOperatorCRM/dialer.php Tue Sep 4 12:21:43 2012
+++ /SmoothOperatorCRM/dialer.php Wed Apr 10 13:30:11 2013
@@ -215,7 +215,7 @@
mysqli_query($connection, "REPLACE INTO campaigns (campaign_id,
list_id, job_id, started_by) VALUES
(".sanitize($_GET['start_campaign']).", ".sanitize($_GET['list_id']).",".sanitize(($_GET['start_campaign']-100000)).",".sanitize($_SESSION['user_id']).")");

$link = mysql_connect($config_values['smoothtorque_db_host'],
$config_values['smoothtorque_db_user'],
$config_values['smoothtorque_db_pass']) or die(mysql_error());
- $result_x = mysql_query("DELETE FROM SineDialer.number WHERE status
= 'new' and campaignid = ".sanitize($_GET['start_campaign']));
+ //$result_x = mysql_query("DELETE FROM SineDialer.number WHERE status
= 'new' and campaignid = ".sanitize($_GET['start_campaign']));

$total = mysqli_num_rows($result);
$i = 0;
Reply all
Reply to author
Forward
0 new messages