Skip to content

Commit

Permalink
Fixing freepbx-17661
Browse files Browse the repository at this point in the history
  • Loading branch information
kguptasangoma committed Sep 5, 2019
1 parent 14d2c12 commit 0dc69f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Superfecta.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ public function bulkhandler_superfecta_cfg($settings) {
$settings['extension'] = trim(str_replace($invalidDIDChars, "", $settings['extension']));
$settings['cidnum'] = trim(str_replace($invalidDIDChars, "", $settings['cidnum']));

$sql = "INSERT INTO superfecta_to_incoming (extension, cidnum, scheme) values (:extension, :cidnum,:superfecta_scheme)";
$sql = "REPLACE INTO superfecta_to_incoming (extension, cidnum, scheme) values (:extension, :cidnum,:superfecta_scheme)";
$q = $db->prepare($sql);
$q->bindParam(':extension', $settings['extension'], \PDO::PARAM_STR);
$q->bindParam(':cidnum', $settings['cidnum'], \PDO::PARAM_STR);
Expand Down

0 comments on commit 0dc69f1

Please sign in to comment.