Move to the $text array and add dashes between words on the $text named array values.

This commit is contained in:
Mark Crane
2012-10-24 07:35:01 +00:00
parent 2ae59b382e
commit 8554794435
14 changed files with 384 additions and 379 deletions
+3 -5
View File
@@ -63,8 +63,7 @@
//get the list of installed apps from the core and mod directories
if ($xml_cdr_archive == "db") {
//get the xml cdr list
$sql = "";
$sql .= "select xml_cdr, uuid from v_xml_cdr ";
$sql = "select xml_cdr, uuid from v_xml_cdr ";
$sql .= "where waitsec is null ";
//$sql .= "limit 5000 ";
//start the transaction
@@ -96,8 +95,7 @@
$waitsec = urldecode($xml->variables->waitsec);
//update the database
if (strlen($waitsec) > 0) {
$sql = "";
$sql .= "update v_xml_cdr ";
$sql = "update v_xml_cdr ";
$sql .= "set waitsec = '$waitsec' ";
$sql .= "where uuid = '$uuid' ";
echo $sql."\n";
@@ -157,4 +155,4 @@
//echo finished
echo "completed\n";
}
?>
?>