WhitespaceClean-others

whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
This commit is contained in:
mafoo 2016-03-11 13:58:35 +00:00
parent 66ba2802bd
commit 2119c7ee8d
2 changed files with 8 additions and 8 deletions

View File

@ -252,15 +252,15 @@ if(!function_exists('fax_enqueue')) {
$date_utc_now_sql = "datetime('now')";
}
$sql = <<<HERE
INSERT INTO v_fax_tasks( fax_task_uuid, fax_uuid,
task_next_time, task_lock_time,
task_fax_file, task_wav_file, task_uri, task_dial_string, task_dtmf,
INSERT INTO v_fax_tasks( fax_task_uuid, fax_uuid,
task_next_time, task_lock_time,
task_fax_file, task_wav_file, task_uri, task_dial_string, task_dtmf,
task_interrupted, task_status, task_no_answer_counter, task_no_answer_retry_counter, task_retry_counter,
task_reply_address, task_description)
VALUES (?, ?,
$date_utc_now_sql, NULL,
?, ?, ?, ?, ?,
'false', 0, 0, 0, 0,
$date_utc_now_sql, NULL,
?, ?, ?, ?, ?,
'false', 0, 0, 0, 0,
?, ?);
HERE;
$stmt = $db->prepare($sql);

View File

@ -46,7 +46,7 @@ if ($domains_processed == 1) {
if ($x > 300) { break; };
}
}
if(!$set_session_theme){
//get default settings
$sql = "select * from v_default_settings ";
@ -56,7 +56,7 @@ if ($domains_processed == 1) {
$prep_statement->execute();
$default_settings = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset($prep_statement);
$background_image_enabled = false;
//add theme default settings
foreach ($array as $row) {