Passed
Pull Request — v3.0 (#189)
by
unknown
10:51
created
freeswitch/fs/cdr.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -67,13 +67,13 @@
 block discarded – undo
67 67
 	//error_log(print_r($data,true));
68 68
 	$logger->log(print_r($data,true));
69 69
 	if($data['variables']['calltype']== "CALLINGCARD"){
70
-    		if(isset($data['variables']['originating_leg_uuid']))
71
-    		{
72
-	     		process_cdr($data,$db,$logger,$decimal_points);
73
-    		}
74
-    	}else{
75
-        	process_cdr($data,$db,$logger,$decimal_points);
76
-    	}
70
+			if(isset($data['variables']['originating_leg_uuid']))
71
+			{
72
+		 		process_cdr($data,$db,$logger,$decimal_points);
73
+			}
74
+		}else{
75
+			process_cdr($data,$db,$logger,$decimal_points);
76
+		}
77 77
 }
78 78
 
79 79
 //$db->cleanup();
Please login to merge, or discard this patch.
web_interface/astpp/application/modules/did/controllers/did.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
 	  if($accountinfo['type']==1){
174 174
 		  $update_array = array('parent_id' => $accountinfo['id'], 'accountid' => 0, 'assign_date' => '0000-00-00 00:00:00', "charge_upto" => "0000-00-00 00:00:00","last_modified_date"=>gmdate("Y-m-d H:i:s"),'call_type'=>'-1','extensions'=>'');
175 175
 	  }else{
176
-    	  $update_array = array('parent_id' => 0, 'accountid' => 0, 'assign_date' => '0000-00-00 00:00:00', "charge_upto" => "0000-00-00 00:00:00","last_modified_date"=>gmdate("Y-m-d H:i:s"),'call_type'=>'-1','extensions'=>'');
176
+		  $update_array = array('parent_id' => 0, 'accountid' => 0, 'assign_date' => '0000-00-00 00:00:00', "charge_upto" => "0000-00-00 00:00:00","last_modified_date"=>gmdate("Y-m-d H:i:s"),'call_type'=>'-1','extensions'=>'');
177 177
 	  }
178 178
 	  $where = array('id' => $id);
179 179
 	  $this->db->where($where);
Please login to merge, or discard this patch.